MCPcopy Create free account
hub / github.com/OpenGVLab/InternImage / __init__

Method __init__

classification/models/intern_image.py:347–403  ·  view source on GitHub ↗
(self,
                 core_op,
                 channels,
                 groups,
                 mlp_ratio=4.,
                 drop=0.,
                 drop_path=0.,
                 act_layer='GELU',
                 norm_layer='LN',
                 post_norm=False,
                 layer_scale=None,
                 offset_scale=1.0,
                 with_cp=False,
                 dw_kernel_size=None, # for InternImage-H/G
                 res_post_norm=False, # for InternImage-H/G
                 center_feature_scale=False, # for InternImage-H/G
                 remove_center=False,  # for InternImage-H/G
                 )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

build_norm_layerFunction · 0.70
MLPLayerClass · 0.70
__init__Method · 0.45

Tested by

no test coverage detected