__init__.py 1.5 KB
Newer Older
Q
Qingsheng Li 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#   Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserve.
#
# 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.

15 16
from __future__ import print_function

M
minqiyang 已提交
17 18
from . import decoder
from .decoder import *
19 20
from . import memory_usage_calc
from .memory_usage_calc import *
C
chengduo 已提交
21 22
from . import op_frequence
from .op_frequence import *
23
from . import quantize
D
Dang Qingqing 已提交
24
from .quantize import *
Q
Qiao Longfei 已提交
25 26
from . import reader
from .reader import *
W
whs 已提交
27
from . import slim
T
tangwei12 已提交
28 29
from . import utils
from .utils import *
C
chengduo 已提交
30 31
from . import extend_optimizer
from .extend_optimizer import *
32 33
from . import model_stat
from .model_stat import *
34 35
from . import mixed_precision
from .mixed_precision import *
36 37
from . import layers
from .layers import *
38 39
from . import optimizer
from .optimizer import *
Q
Qingsheng Li 已提交
40

C
chengduo 已提交
41 42 43 44
__all__ = []
__all__ += decoder.__all__
__all__ += memory_usage_calc.__all__
__all__ += op_frequence.__all__
D
test,  
Dang Qingqing 已提交
45
__all__ += quantize.__all__
Q
Qiao Longfei 已提交
46
__all__ += reader.__all__
T
tangwei12 已提交
47
__all__ += utils.__all__
C
chengduo 已提交
48
__all__ += extend_optimizer.__all__
49
__all__ += ['mixed_precision']
50
__all__ += layers.__all__
51
__all__ += optimizer.__all__