MCPcopy 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_filesMethod · 0.45
encode_and_trimMethod · 0.45
insert_needleMethod · 0.45
run_testMethod · 0.45
read_context_filesMethod · 0.45
encode_and_trimMethod · 0.45
insert_needleMethod · 0.45
run_testMethod · 0.45
_read_process_visionMethod · 0.45
construct_inputMethod · 0.45
__call__Method · 0.45
__init__Method · 0.45

Calls 1

_encodeMethod · 0.95

Tested by

no test coverage detected