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

Method forward

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

Source from the content-addressed store, hash-verified

114 torch.nn.Linear(in_features=1024,out_features=1)
115 )
116 def forward(self,x):
117 out = self.blocks(x)
118 return self.classifier(out)
119
120if __name__ == '__main__':
121 #96 x 96 => 24 x 24

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected