Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
a47451b4
Unverified
Commit
a47451b4
authored
Jul 03, 2020
by
Jerry Jiarui XU
Committed by
GitHub
Jul 03, 2020
Browse files
add more module in cnn __init__ (#381)
parent
42f03d84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
mmcv/cnn/__init__.py
mmcv/cnn/__init__.py
+9
-6
No files found.
mmcv/cnn/__init__.py
View file @
a47451b4
# Copyright (c) Open-MMLab. All rights reserved.
from
.alexnet
import
AlexNet
from
.bricks
import
(
ACTIVATION_LAYERS
,
CONV_LAYERS
,
NORM_LAYERS
,
PADDING_LAYERS
,
UPSAMPLE_LAYERS
,
ConvModule
,
NonLocal1d
,
NonLocal2d
,
NonLocal3d
,
Scale
,
build_activation_layer
,
build_conv_layer
,
build_norm_layer
,
build_padding_layer
,
PADDING_LAYERS
,
PLUGIN_LAYERS
,
UPSAMPLE_LAYERS
,
ContextBlock
,
ConvModule
,
GeneralizedAttention
,
NonLocal1d
,
NonLocal2d
,
NonLocal3d
,
Scale
,
build_activation_layer
,
build_conv_layer
,
build_norm_layer
,
build_padding_layer
,
build_plugin_layer
,
build_upsample_layer
,
is_norm
)
from
.resnet
import
ResNet
,
make_res_layer
from
.utils
import
(
bias_init_with_prob
,
caffe2_xavier_init
,
constant_init
,
...
...
@@ -16,8 +18,9 @@ __all__ = [
'constant_init'
,
'xavier_init'
,
'normal_init'
,
'uniform_init'
,
'kaiming_init'
,
'caffe2_xavier_init'
,
'bias_init_with_prob'
,
'ConvModule'
,
'build_activation_layer'
,
'build_conv_layer'
,
'build_norm_layer'
,
'build_padding_layer'
,
'build_upsample_layer'
,
'is_norm'
,
'NonLocal1d'
,
'NonLocal2d'
,
'NonLocal3d'
,
'ACTIVATION_LAYERS'
,
'CONV_LAYERS'
,
'NORM_LAYERS'
,
'PADDING_LAYERS'
,
'UPSAMPLE_LAYERS'
,
'Scale'
,
'build_padding_layer'
,
'build_upsample_layer'
,
'build_plugin_layer'
,
'is_norm'
,
'NonLocal1d'
,
'NonLocal2d'
,
'NonLocal3d'
,
'ContextBlock'
,
'GeneralizedAttention'
,
'ACTIVATION_LAYERS'
,
'CONV_LAYERS'
,
'NORM_LAYERS'
,
'PADDING_LAYERS'
,
'UPSAMPLE_LAYERS'
,
'PLUGIN_LAYERS'
,
'Scale'
,
'get_model_complexity_info'
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment