MCPcopy Create free account
hub / github.com/MotrixLab/ViMoGen / state_dict

Method state_dict

datasets/sampler.py:53–54  ·  view source on GitHub ↗
(self, step)

Source from the content-addressed store, hash-verified

51 self.start_index = 0
52
53 def state_dict(self, step) -> dict:
54 return {'start_index': step}
55
56 def load_state_dict(self, state_dict: dict) -> None:
57 self.__dict__.update(state_dict)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected