Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
encode
Method · 0.95
decode
Method · 0.95
Tested by
no test coverage detected