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

Method load_state_dict

lwm/data.py:308–310  ·  view source on GitHub ↗
(self, state_dict)

Source from the content-addressed store, hash-verified

306 return dict(config=self.config)
307
308 def load_state_dict(self, state_dict):
309 if 'config' in state_dict:
310 self.config.update(ConfigDict(state_dict['config']))
311
312 @property
313 def seq_length(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected