MCPcopy Create free account
hub / github.com/MotrixLab/FineMoGen / encode

Method encode

mogen/models/architectures/vae_architecture.py:88–90  ·  view source on GitHub ↗
(self, motion, motion_mask)

Source from the content-addressed store, hash-verified

86 return latent_code
87
88 def encode(self, motion, motion_mask):
89 mu, logvar = self.encoder(motion, motion_mask)
90 return self.reparameterize(mu, logvar)
91
92 def decode(self, z, motion_mask):
93 return self.decoder(z, motion_mask)

Callers

nothing calls this directly

Calls 1

reparameterizeMethod · 0.95

Tested by

no test coverage detected