MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / forward

Method forward

modules/networks.py:44–51  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

42 self.conv.bias.data.zero_()
43
44 def forward(self, x):
45 x = self.conv(x)
46
47 x = self.scale_init * x
48
49 x = torch.sin(x)
50
51 return x
52
53
54class LinearWN_v2(torch.nn.Linear):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected