MCPcopy Create free account
hub / github.com/CDTrans/CDTrans / __init__

Method __init__

model/backbones/vit_pytorch.py:529–566  ·  view source on GitHub ↗
(self, img_size=224, patch_size=16, stride_size=16, in_chans=3, num_classes=1000, embed_dim=768, depth=12,
                 num_heads=12, mlp_ratio=4., qkv_bias=False, qk_scale=None, drop_rate=0., attn_drop_rate=0.,
                 drop_path_rate=0., hybrid_backbone=None, norm_layer=nn.LayerNorm,local_feature=False, aie_xishu =1.0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

BlockClass · 0.85
HybridEmbedClass · 0.70
PatchEmbed_strideClass · 0.70
trunc_normal_Function · 0.70
__init__Method · 0.45

Tested by

no test coverage detected