Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OUCMachineLearning/OUCML
/ decode
Method
decode
One_Day_One_GAN/day15/vae.py:63–65 ·
view source on GitHub ↗
(self, z)
Source
from the content-addressed store, hash-verified
61
return
eps.mul(std).add_(mu)
62
63
def
decode(self, z):
64
h3 = F.relu(self.fc3(z))
65
return
F.sigmoid(self.fc4(h3))
66
67
def
forward(self, x):
68
mu, logvar = self.encode(x)
Callers
1
forward
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected