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

Method forward

Code/net/Discriminator.py:24–26  ·  view source on GitHub ↗
(self,x)

Source from the content-addressed store, hash-verified

22 torch.nn.LeakyReLU(negative_slope=0.2,inplace=True)
23 )
24 def forward(self,x):
25 out = self.conv(x)
26 return out
27
28class Discriminator(torch.nn.Module):
29 def __init__(self, in_channels=3,features=(64,128,256,512)):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected