MCPcopy
hub / github.com/yunjey/pytorch-tutorial / decode

Method decode

tutorials/03-advanced/variational_autoencoder/main.py:57–59  ·  view source on GitHub ↗
(self, z)

Source from the content-addressed store, hash-verified

55 return mu + eps * std
56
57 def decode(self, z):
58 h = F.relu(self.fc4(z))
59 return F.sigmoid(self.fc5(h))
60
61 def forward(self, x):
62 mu, log_var = self.encode(x)

Callers 2

forwardMethod · 0.95
main.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected