MCPcopy Index your code
hub / github.com/geekcomputers/Python / state_dict

Method state_dict

ML/src/python/neuralforge/optim/optimizers.py:261–266  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

259 return loss
260
261 def state_dict(self):
262 return {
263 'state': self.state,
264 'optimizer': self.optimizer.state_dict(),
265 'param_groups': self.param_groups,
266 }

Callers 1

save_checkpointMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected