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

Method decode_code

models/flowsep/latent_encoder/autoencoder.py:466–469  ·  view source on GitHub ↗
(self, code_b)

Source from the content-addressed store, hash-verified

464 return dec
465
466 def decode_code(self, code_b):
467 quant_b = self.quantize.embed_code(code_b)
468 dec = self.decode(quant_b)
469 return dec
470
471 def forward(self, input, return_pred_indices=False):
472 quant, diff, (_, _, ind) = self.encode(input)

Callers

nothing calls this directly

Calls 1

decodeMethod · 0.95

Tested by

no test coverage detected