__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 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 backward_strategy
from .backward_strategy import *

44 45 46
from . import jit
from .jit 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

53 54 55
__all__ = []
__all__ += layers.__all__
__all__ += base.__all__
Y
Youwei Song 已提交
56
__all__ += container.__all__
M
minqiyang 已提交
57
__all__ += nn.__all__
58
__all__ += parallel.__all__
59
__all__ += checkpoint.__all__
M
minqiyang 已提交
60
__all__ += learning_rate_scheduler.__all__
61
__all__ += backward_strategy.__all__
62
__all__ += jit.__all__
63
__all__ += ['ProgramTranslator']