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

M
minqiyang 已提交
16 17
from . import decoder
from .decoder import *
18 19
from . import memory_usage_calc
from .memory_usage_calc import *
C
chengduo 已提交
20 21
from . import op_frequence
from .op_frequence import *
22
from . import quantize
D
Dang Qingqing 已提交
23
from .quantize import *
W
whs 已提交
24
from . import slim
C
chengduo 已提交
25 26
from . import extend_optimizer
from .extend_optimizer import *
27 28
from . import model_stat
from .model_stat import *
29 30
from . import mixed_precision
from .mixed_precision import *
31 32
from . import layers
from .layers import *
33
from . import optimizer
Z
zhiboniu 已提交
34
from .optimizer import *
35 36
from . import sparsity
from .sparsity import *
Q
Qingsheng Li 已提交
37

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