Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean old codes. #296

Merged
merged 10 commits into from
Sep 23, 2022
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 18 additions & 8 deletions mmrazor/models/architectures/dynamic_ops/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
# Copyright (c) OpenMMLab. All rights reserved.
from .base import DynamicOP
from .default_dynamic_ops import (DynamicBatchNorm, DynamicConv2d,
DynamicGroupNorm, DynamicInstanceNorm,
DynamicLinear)
from .slimmable_dynamic_ops import SwitchableBatchNorm2d
from .dynamic_conv import BigNasConv2d, DynamicConv2d, OFAConv2d
from .dynamic_linear import DynamicLinear
from .dynamic_mixins import (DynamicBatchNormMixin, DynamicChannelMixin,
DynamicLinearMixin, DynamicMixin)
from .dynamic_norm import (DynamicBatchNorm1d, DynamicBatchNorm2d,
DynamicBatchNorm3d, SwitchableBatchNorm2d)

__all__ = [
'DynamicConv2d', 'DynamicLinear', 'DynamicBatchNorm',
'DynamicInstanceNorm', 'DynamicGroupNorm', 'SwitchableBatchNorm2d',
'DynamicOP'
'BigNasConv2d',
'DynamicConv2d',
'OFAConv2d',
'DynamicLinear',
'DynamicBatchNorm1d',
'DynamicBatchNorm2d',
'DynamicBatchNorm3d',
'DynamicMixin',
'DynamicChannelMixin',
'DynamicBatchNormMixin',
'DynamicLinearMixin',
'SwitchableBatchNorm2d',
]
106 changes: 0 additions & 106 deletions mmrazor/models/architectures/dynamic_ops/base.py

This file was deleted.

14 changes: 0 additions & 14 deletions mmrazor/models/architectures/dynamic_ops/bricks/__init__.py

This file was deleted.

Loading