__init__.py 1.4 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
# Copyright (c) 2019  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.
14 15

from __future__ import absolute_import
W
wanghaoshuang 已提交
16
from .pruner import *
17
from ..prune import pruner
W
wanghaoshuang 已提交
18
from .auto_pruner import *
W
whs 已提交
19
from ..prune import auto_pruner
W
wanghaoshuang 已提交
20
from .sensitive_pruner import *
21
from ..prune import sensitive_pruner
W
wanghaoshuang 已提交
22
from .sensitive import *
23 24 25
from ..prune import sensitive
from .prune_walker import *
from ..prune import prune_walker
W
whs 已提交
26 27
from .prune_io import *
from ..prune import prune_io
28 29 30 31
from .group_param import *
from ..prune import group_param
from .criterion import *
from ..prune import criterion
W
wanghaoshuang 已提交
32

33 34
from .idx_selector import *
from ..prune import idx_selector
W
wanghaoshuang 已提交
35 36 37 38 39 40
__all__ = []

__all__ += pruner.__all__
__all__ += auto_pruner.__all__
__all__ += sensitive_pruner.__all__
__all__ += sensitive.__all__
W
whs 已提交
41
__all__ += prune_walker.__all__
W
whs 已提交
42
__all__ += prune_io.__all__
43 44 45
__all__ += group_param.__all__
__all__ += criterion.__all__
__all__ += idx_selector.__all__