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

Method _make_callback

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

Source from the content-addressed store, hash-verified

508 loss_mask_buffer = loss_mask_buffer[chunk_size:]
509
510 def _make_callback(self, v):
511 return lambda index: v[index]
512
513 def get_state_dict(self):
514 return dict(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected