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

Method __init__

model/backbones/vit_pytorch.py:172–182  ·  view source on GitHub ↗
(self, dim, num_heads, mlp_ratio=4., qkv_bias=False, qk_scale=None, drop=0., attn_drop=0.,
                 drop_path=0., act_layer=nn.GELU, norm_layer=nn.LayerNorm)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

AttentionClass · 0.85
DropPathClass · 0.70
MlpClass · 0.70
__init__Method · 0.45

Tested by

no test coverage detected