__init__.py 1.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#   Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from . import base
from .base import *

from . import layers
from .layers import *

Y
Youwei Song 已提交
21 22 23
from . import container
from .container import *

M
minqiyang 已提交
24 25 26
from . import nn
from .nn import *

M
minqiyang 已提交
27 28 29
from . import tracer
from .tracer import *

30 31 32
from . import parallel
from .parallel import *

33 34 35
from . import checkpoint
from .checkpoint import *

M
minqiyang 已提交
36 37 38
from . import learning_rate_scheduler
from .learning_rate_scheduler import *

39

40 41 42
from . import io
from .io import *

43 44 45
from . import static_runner
from .static_runner import StaticModelRunner

46 47
from . import dygraph_to_static

X
Xing Wu 已提交
48 49 50
from . import rnn
from .rnn import *

51 52 53
from . import amp
from .amp import *

54 55
from .math_op_patch import monkey_patch_math_varbase

56 57
from .inplace_utils import inplace_apis_in_dygraph_only

58 59 60
__all__ = []
__all__ += layers.__all__
__all__ += base.__all__
Y
Youwei Song 已提交
61
__all__ += container.__all__
M
minqiyang 已提交
62
__all__ += nn.__all__
63
__all__ += parallel.__all__
64
__all__ += checkpoint.__all__
M
minqiyang 已提交
65
__all__ += learning_rate_scheduler.__all__
66
__all__ += io.__all__
X
Xing Wu 已提交
67
__all__ += rnn.__all__
68
__all__ += amp.__all__