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

Method initialize

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

Source from the content-addressed store, hash-verified

109 return x
110
111 def initialize(self):
112 weight_init(self)
113
114class Attention(nn.Module):
115 def __init__(self, dim, num_heads, bias,mode):

Callers

nothing calls this directly

Calls 1

weight_initFunction · 0.70

Tested by

no test coverage detected