MCPcopy Create free account
hub / github.com/OUCMachineLearning/OUCML / forward

Method forward

One_Day_One_GAN/day15/vae.py:67–70  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

65 return F.sigmoid(self.fc4(h3))
66
67 def forward(self, x):
68 mu, logvar = self.encode(x)
69 z = self.reparametrize(mu, logvar)
70 return self.decode(z), mu, logvar
71
72
73model = VAE()

Callers

nothing calls this directly

Calls 3

encodeMethod · 0.95
reparametrizeMethod · 0.95
decodeMethod · 0.95

Tested by

no test coverage detected