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

Method forward

SRGAN/models.py:64–67  ·  view source on GitHub ↗
(self,x)

Source from the content-addressed store, hash-verified

62 use_act = False
63 )
64 def forward(self,x):
65 out = self.block1(x)
66 out = self.block2(out)
67 return out + x
68
69class Generator(torch.nn.Module):
70 def __init__(self,in_channels = 3, num_channels = 64,num_blocks = 16):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected