Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
forward
Method · 0.95
main.py
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected