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

Method initialize

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

Source from the content-addressed store, hash-verified

91 return to_4d(self.body(to_3d(x)), h, w)
92
93 def initialize(self):
94 weight_init(self)
95
96class FeedForward(nn.Module):
97 def __init__(self, dim, ffn_expansion_factor, bias):

Callers

nothing calls this directly

Calls 1

weight_initFunction · 0.70

Tested by

no test coverage detected