__init__.py 1.2 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# Copyright (c) 2020 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 logger
from . import progressbar
from . import callbacks
from . import download
19

20
from . import model
21 22
from .model import *

23 24 25 26
from . import metrics
from . import datasets
from . import distributed
from . import vision
27
from . import text
28
from . import utils
29

30 31 32 33 34
from . import device
from .device import *

from .dygraph_layer_patch import monkey_patch_layer

35 36 37 38 39 40 41 42 43
logger.setup_logger()

__all__ = [
    'callbacks',
    'datasets',
    'distributed',
    'download',
    'metrics',
    'vision',
44
    'text',
45
    'utils',
46
] + model.__all__ + device.__all__
47

48
monkey_patch_layer()