MCPcopy Create free account
hub / github.com/OpenSparseLLMs/MoM / set_epoch

Method set_epoch

training/flame/data.py:131–134  ·  view source on GitHub ↗
(self, epoch)

Source from the content-addressed store, hash-verified

129 self.rand_id = 0
130
131 def set_epoch(self, epoch):
132 self._epoch = epoch
133 if hasattr(self.dataset, "set_epoch"):
134 self.dataset.set_epoch(epoch)
135
136 def state_dict(self):
137 return {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected