MCPcopy Create free account
hub / github.com/PKU-ASAL/Simulated-Data / VariationalAutoencoder

Class VariationalAutoencoder

src/Sysdig/model.py:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 return z
65
66class VariationalAutoencoder(nn.Module):
67 def __init__(self, latent_dims):
68 super(VariationalAutoencoder,self).__init__()
69 self.encoder = VariationalEncoder(latent_dims)
70 self.decoder = Decoder(latent_dims)
71
72 def forward(self,x):
73 z = self.encoder(x)
74 return self.decoder(z)

Callers 1

train.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected