MCPcopy
hub / github.com/FoundationVision/LlamaGen / forward

Method forward

tokenizer/vqgan/model.py:85–88  ·  view source on GitHub ↗
(self, input)

Source from the content-addressed store, hash-verified

83 return dec
84
85 def forward(self, input):
86 quant, diff, _ = self.encode(input)
87 dec = self.decode(quant)
88 return dec, diff

Callers

nothing calls this directly

Calls 2

encodeMethod · 0.95
decodeMethod · 0.95

Tested by

no test coverage detected