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

Method reset

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

Source from the content-addressed store, hash-verified

301 self.approximate_num_batch = total_batch
302
303 def reset(self):
304 self.last_micro_batch_access_index = 0
305
306 def state_dict(self, num_steps: int) -> dict:
307 # the last_micro_batch_access_index in the __iter__ is often

Callers 1

__iter__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected