MCPcopy Create free account
hub / github.com/ChunmingHe/WS-SAM / initialize

Method initialize

lib/VIT/decoder/decoder_p.py:152–153  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

150 return out
151
152 def initialize(self):
153 weight_init(self)
154
155class MSA_head(nn.Module):
156 def __init__(self, mode='dilation',dim=128, num_heads=8, ffn_expansion_factor=4, bias=False, LayerNorm_type='WithBias'):

Callers

nothing calls this directly

Calls 1

weight_initFunction · 0.70

Tested by

no test coverage detected