MCPcopy Create free account
hub / github.com/ML-GSAI/LLaDA-o / decode

Method decode

modeling/autoencoder.py:320–322  ·  view source on GitHub ↗
(self, z: Tensor)

Source from the content-addressed store, hash-verified

318 return z
319
320 def decode(self, z: Tensor) -> Tensor:
321 z = z / self.scale_factor + self.shift_factor
322 return self.decoder(z)
323
324 def forward(self, x: Tensor) -> Tensor:
325 return self.decode(self.encode(x))

Callers 7

forwardMethod · 0.95
decode_imageMethod · 0.45
__iter__Method · 0.45
__iter__Method · 0.45
__iter__Method · 0.45
__iter__Method · 0.45
generate_imageFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected