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

Method forward

Code/net/Generator.py:33–34  ·  view source on GitHub ↗
(self,x)

Source from the content-addressed store, hash-verified

31 ConvBlock(channels,channels,use_act=False,kernel_size = 3,padding = 1),
32 )
33 def forward(self,x):
34 return x + self.block(x)
35
36class Generator(torch.nn.Module):
37 def __init__(self,img_channels,num_features = 64,num_residual=9):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected