2020-02-10 07:38:56 +08:00
|
|
|
# encoding: utf-8
|
|
|
|
"""
|
|
|
|
@author: liaoxingyu
|
|
|
|
@contact: sherlockliao01@gmail.com
|
|
|
|
"""
|
|
|
|
|
2020-06-12 16:34:03 +08:00
|
|
|
from .activation import *
|
2020-05-14 11:36:28 +08:00
|
|
|
from .batch_norm import *
|
2020-03-25 10:58:26 +08:00
|
|
|
from .context_block import ContextBlock
|
2021-05-31 17:27:14 +08:00
|
|
|
from .drop import DropPath, DropBlock2d, drop_block_2d, drop_path
|
2020-06-12 16:34:03 +08:00
|
|
|
from .frn import FRN, TLU
|
2021-05-31 17:27:14 +08:00
|
|
|
from .gather_layer import GatherLayer
|
|
|
|
from .helpers import to_ntuple, to_2tuple, to_3tuple, to_4tuple, make_divisible
|
2020-04-20 10:59:29 +08:00
|
|
|
from .non_local import Non_local
|
|
|
|
from .se_layer import SELayer
|
2020-12-07 14:19:20 +08:00
|
|
|
from .splat import SplAtConv2d, DropBlock2D
|
2021-05-31 17:27:14 +08:00
|
|
|
from .weight_init import (
|
|
|
|
trunc_normal_, variance_scaling_, lecun_normal_, weights_init_kaiming, weights_init_classifier
|
|
|
|
)
|