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

Method get_state_dict

lwm/data.py:305–306  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

303 loss_mask_buffer = loss_mask_buffer[chunk_size:]
304
305 def get_state_dict(self):
306 return dict(config=self.config)
307
308 def load_state_dict(self, state_dict):
309 if 'config' in state_dict:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected