Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/FoundationVision/LlamaGen
/ forward
Method
forward
tokenizer/tokenizer_image/vq_model.py:57–60 ·
view source on GitHub ↗
(self, input)
Source
from the content-addressed store, hash-verified
55
return
dec
56
57
def
forward(self, input):
58
quant, diff, _ = self.encode(input)
59
dec = self.decode(quant)
60
return
dec, diff
61
62
63
Callers
nothing calls this directly
Calls
2
encode
Method · 0.95
decode
Method · 0.95
Tested by
no test coverage detected