MCPcopy
hub / github.com/alex-damian/pulse / forward

Method forward

stylegan.py:34–38  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

32 self.bias = None
33
34 def forward(self, x):
35 bias = self.bias
36 if bias is not None:
37 bias = bias * self.b_mul
38 return F.linear(x, self.weight * self.w_mul, bias)
39
40
41class MyConv2d(nn.Module):

Callers 1

forwardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected