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

Method init_weights

networks/module.py:204–208  ·  view source on GitHub ↗

default initialization

(self, init_method)

Source from the content-addressed store, hash-verified

202 return x
203
204 def init_weights(self, init_method):
205 """default initialization"""
206 init_uniform(self.conv, init_method)
207 if self.bn is not None:
208 init_bn(self.bn)
209
210
211

Callers

nothing calls this directly

Calls 2

init_uniformFunction · 0.85
init_bnFunction · 0.85

Tested by

no test coverage detected