Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YZY-stack/DF40
/ forward
Method
forward
DeepfakeBench_DF40/training/dataset/utils/image_ae.py:60–63 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
58
return
mu
59
60
def
forward(self, x):
61
mu, logvar = self.encode(x)
62
z = self.reparameterize(mu, logvar)
63
return
z, mu, logvar
64
65
66
class
VAE_Decoder(nn.Module):
Callers
nothing calls this directly
Calls
2
encode
Method · 0.95
reparameterize
Method · 0.95
Tested by
no test coverage detected