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

Method forward

pix2pix/net/Discriminator.py:20–22  ·  view source on GitHub ↗
(self,input)

Source from the content-addressed store, hash-verified

18 torch.nn.LeakyReLU(negative_slope=0.2)
19 )
20 def forward(self,input):
21 x = self.conv(input)
22 return x
23
24
25class Discriminator(torch.nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected