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

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