MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / _set_state

Method _set_state

PATH/core/fp16/opt.py:571–572  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

569 return self.optimizer.state
570
571 def _set_state(self, value):
572 self.optimizer.state = value
573
574 state = property(_get_state, _set_state)
575

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected