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

Method forward

Adversarial_AutoEncoder/net/Decoder.py:23–26  ·  view source on GitHub ↗
(self,x)

Source from the content-addressed store, hash-verified

21 torch.nn.Linear(in_features=512, out_features=in_features)
22 )
23 def forward(self,x):
24 out = self.decoder(x)
25 out = out.view(-1,28,28)
26 return out
27
28if __name__ == '__main__':
29 model = Decoder(in_features=784,out_features=128)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected