__init__.py 1.8 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#   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 __future__ import print_function

from . import base
from .base import *

from . import layers
from .layers import *

Y
Youwei Song 已提交
23 24 25
from . import container
from .container import *

M
minqiyang 已提交
26 27 28
from . import nn
from .nn import *

M
minqiyang 已提交
29 30 31
from . import tracer
from .tracer import *

32 33 34
from . import parallel
from .parallel import *

35 36 37
from . import checkpoint
from .checkpoint import *

M
minqiyang 已提交
38 39 40
from . import learning_rate_scheduler
from .learning_rate_scheduler import *

41 42 43
from . import jit
from .jit import *

44 45 46
from . import io
from .io import *

47 48 49
from . import static_runner
from .static_runner import StaticModelRunner

50 51 52
from . import dygraph_to_static
from .dygraph_to_static import ProgramTranslator

X
Xing Wu 已提交
53 54 55
from . import rnn
from .rnn import *

56 57 58
from . import amp
from .amp import *

59 60
from .math_op_patch import monkey_patch_math_varbase

61 62
from .inplace_utils import inplace_apis_in_dygraph_only

63 64 65
__all__ = []
__all__ += layers.__all__
__all__ += base.__all__
Y
Youwei Song 已提交
66
__all__ += container.__all__
M
minqiyang 已提交
67
__all__ += nn.__all__
68
__all__ += parallel.__all__
69
__all__ += checkpoint.__all__
M
minqiyang 已提交
70
__all__ += learning_rate_scheduler.__all__
71
__all__ += jit.__all__
72
__all__ += io.__all__
X
Xing Wu 已提交
73
__all__ += rnn.__all__
74
__all__ += ['ProgramTranslator']
75
__all__ += amp.__all__