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

Method forward

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

Source from the content-addressed store, hash-verified

81 self.pn = PixelNorm()
82
83 def forward(self, x):
84 x = self.leaky(self.conv1(x))
85 x = self.pn(x) if self.use_pn else x
86 x = self.leaky(self.conv2(x))
87 x = self.pn(x) if self.use_pn else x
88 return x
89
90
91class Generator(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected