MCPcopy Create free account
hub / github.com/LargeWorldModel/LWM / _make_callback

Method _make_callback

lwm/data.py:810–811  ·  view source on GitHub ↗
(self, v)

Source from the content-addressed store, hash-verified

808
809
810 def _make_callback(self, v):
811 return lambda index: v[index]
812
813 def get_state_dict(self):
814 return dict(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected