MCPcopy Create free account
hub / github.com/DIVE128/DMVSNet / init_weights

Method init_weights

networks/module.py:113–117  ·  view source on GitHub ↗

default initialization

(self, init_method)

Source from the content-addressed store, hash-verified

111 return x
112
113 def init_weights(self, init_method):
114 """default initialization"""
115 init_uniform(self.conv, init_method)
116 if self.bn is not None:
117 init_bn(self.bn)
118
119
120class Conv3d(nn.Module):

Callers

nothing calls this directly

Calls 2

init_uniformFunction · 0.85
init_bnFunction · 0.85

Tested by

no test coverage detected