MCPcopy Create free account
hub / github.com/TimSeizinger/Bokehlicious / reset_parameters

Method reset_parameters

method/blocks.py:270–274  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

268 self.dwconv = DWConv2d(ffn_dim, 3, 1, 1) if subconv else None
269
270 def reset_parameters(self):
271 self.fc1.reset_parameters()
272 self.fc2.reset_parameters()
273 if self.ffn_layernorm is not None:
274 self.ffn_layernorm.reset_parameters()
275
276 def forward(self, x: torch.Tensor):
277 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected