MCPcopy Create free account
hub / github.com/RosettaCommons/RFdiffusion / reset_parameter

Method reset_parameter

rfdiffusion/Track_module.py:381–385  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

379
380 self.reset_parameter()
381 def reset_parameter(self):
382 self.proj_state = init_lecun_normal(self.proj_state)
383 nn.init.zeros_(self.proj_state.bias)
384 self.proj_state2 = init_lecun_normal(self.proj_state2)
385 nn.init.zeros_(self.proj_state2.bias)
386
387 def forward(self, seq, msa, msa_full, pair, xyz_in, state, idx, use_checkpoint=False, motif_mask=None):
388 """

Callers 1

__init__Method · 0.95

Calls 1

init_lecun_normalFunction · 0.85

Tested by

no test coverage detected