MCPcopy Create free account
hub / github.com/amdegroot/ssd.pytorch / weights_init

Function weights_init

train.py:217–220  ·  view source on GitHub ↗
(m)

Source from the content-addressed store, hash-verified

215
216
217def weights_init(m):
218 if isinstance(m, nn.Conv2d):
219 xavier(m.weight.data)
220 m.bias.data.zero_()
221
222
223def create_vis_plot(_xlabel, _ylabel, _title, _legend):

Callers

nothing calls this directly

Calls 1

xavierFunction · 0.85

Tested by

no test coverage detected