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

Method forward

VAE_AutoEncoder/net/DenseVAE.py:46–50  ·  view source on GitHub ↗
(self,x)

Source from the content-addressed store, hash-verified

44 self.imgs = torch.nn.Linear(in_features=hidden_dim * 2,out_features=num_features)
45
46 def forward(self,x):
47 x = self.initial_dense(x)
48 imgs = self.imgs(x)
49 imgs = imgs.view(-1,28,28)
50 return imgs
51
52
53if __name__ == '__main__':

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected