MCPcopy Create free account
hub / github.com/SLDGroup/EMCAD / init_weights

Method init_weights

lib/decoders.py:304–305  ·  view source on GitHub ↗
(self, scheme='')

Source from the content-addressed store, hash-verified

302 self.init_weights('normal')
303
304 def init_weights(self, scheme=''):
305 named_apply(partial(_init_weights, scheme=scheme), self)
306
307 def forward(self, x):
308 avg_out = torch.mean(x, dim=1, keepdim=True)

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected