__init__.py 1.4 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 *
W
whs 已提交
25
from . import slim
C
chengduo 已提交
26 27
from . import extend_optimizer
from .extend_optimizer import *
28 29
from . import model_stat
from .model_stat import *
30 31
from . import mixed_precision
from .mixed_precision import *
32 33
from . import layers
from .layers import *
34
from . import optimizer
Q
Qingsheng Li 已提交
35

C
chengduo 已提交
36 37 38 39
__all__ = []
__all__ += decoder.__all__
__all__ += memory_usage_calc.__all__
__all__ += op_frequence.__all__
D
test,  
Dang Qingqing 已提交
40
__all__ += quantize.__all__
C
chengduo 已提交
41
__all__ += extend_optimizer.__all__
42
__all__ += ['mixed_precision']
43
__all__ += layers.__all__
44
__all__ += optimizer.__all__