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

Method reset

datasets/sampler.py:50–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

48 return self.num_samples - self.start_index
49
50 def reset(self) -> None:
51 self.start_index = 0
52
53 def state_dict(self, step) -> dict:
54 return {'start_index': step}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected