|
|
@ -6,8 +6,8 @@ from .bricks import (ACTIVATION_LAYERS, CONV_LAYERS, NORM_LAYERS, |
|
|
|
ContextBlock, Conv2d, ConvAWS2d, ConvModule, |
|
|
|
ContextBlock, Conv2d, ConvAWS2d, ConvModule, |
|
|
|
ConvTranspose2d, ConvTranspose3d, ConvWS2d, |
|
|
|
ConvTranspose2d, ConvTranspose3d, ConvWS2d, |
|
|
|
DepthwiseSeparableConvModule, GeneralizedAttention, |
|
|
|
DepthwiseSeparableConvModule, GeneralizedAttention, |
|
|
|
HSigmoid, HSwish, Linear, MaxPool2d, NonLocal1d, |
|
|
|
HSigmoid, HSwish, Linear, MaxPool2d, MaxPool3d, |
|
|
|
NonLocal2d, NonLocal3d, Scale, Swish, |
|
|
|
NonLocal1d, NonLocal2d, NonLocal3d, Scale, Swish, |
|
|
|
build_activation_layer, build_conv_layer, |
|
|
|
build_activation_layer, build_conv_layer, |
|
|
|
build_norm_layer, build_padding_layer, build_plugin_layer, |
|
|
|
build_norm_layer, build_padding_layer, build_plugin_layer, |
|
|
|
build_upsample_layer, conv_ws_2d, is_norm) |
|
|
|
build_upsample_layer, conv_ws_2d, is_norm) |
|
|
@ -29,5 +29,6 @@ __all__ = [ |
|
|
|
'CONV_LAYERS', 'NORM_LAYERS', 'PADDING_LAYERS', 'UPSAMPLE_LAYERS', |
|
|
|
'CONV_LAYERS', 'NORM_LAYERS', 'PADDING_LAYERS', 'UPSAMPLE_LAYERS', |
|
|
|
'PLUGIN_LAYERS', 'Scale', 'get_model_complexity_info', 'conv_ws_2d', |
|
|
|
'PLUGIN_LAYERS', 'Scale', 'get_model_complexity_info', 'conv_ws_2d', |
|
|
|
'ConvAWS2d', 'ConvWS2d', 'fuse_conv_bn', 'DepthwiseSeparableConvModule', |
|
|
|
'ConvAWS2d', 'ConvWS2d', 'fuse_conv_bn', 'DepthwiseSeparableConvModule', |
|
|
|
'Linear', 'Conv2d', 'ConvTranspose2d', 'MaxPool2d', 'ConvTranspose3d' |
|
|
|
'Linear', 'Conv2d', 'ConvTranspose2d', 'MaxPool2d', 'ConvTranspose3d', |
|
|
|
|
|
|
|
'MaxPool3d' |
|
|
|
] |
|
|
|
] |
|
|
|