MCPcopy Create free account
hub / github.com/AlayaLab/Hive / encode_to_prequant

Method encode_to_prequant

models/flowsep/latent_encoder/autoencoder.py:456–459  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

454 return quant, emb_loss, info
455
456 def encode_to_prequant(self, x):
457 h = self.encoder(x)
458 h = self.quant_conv(h)
459 return h
460
461 def decode(self, quant):
462 quant = self.post_quant_conv(quant)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected