MCPcopy Create free account
hub / github.com/KeepTryingTo/Pytorch-GAN / forward

Method forward

ProGAN/model.py:61–62  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

59 nn.init.zeros_(self.bias)
60
61 def forward(self, x):
62 return self.conv(x * self.scale) + self.bias.view(1, self.bias.shape[0], 1, 1)
63
64
65class PixelNorm(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected