Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LargeWorldModel/LWM
/ encode
Method
encode
lwm/vqgan.py:52–53 ·
view source on GitHub ↗
(self, pixel_values)
Source
from the content-addressed store, hash-verified
50
return
partial(self._wrap_fn(fn), params=self.params)
51
52
def
encode(self, pixel_values):
53
return
self._encode(pixel_values)
54
55
def
decode(self, encoding):
56
return
self._decode(encoding)
Callers
13
read_context_files
Method · 0.45
encode_and_trim
Method · 0.45
insert_needle
Method · 0.45
run_test
Method · 0.45
read_context_files
Method · 0.45
encode_and_trim
Method · 0.45
insert_needle
Method · 0.45
run_test
Method · 0.45
_read_process_vision
Method · 0.45
construct_input
Method · 0.45
__call__
Method · 0.45
__init__
Method · 0.45
Calls
1
_encode
Method · 0.95
Tested by
no test coverage detected