Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zai-org/CodeGeeX
/ _set_state
Method
_set_state
codegeex/megatron/optimizer/optimizer.py:128–129 ·
view source on GitHub ↗
(self, value)
Source
from the content-addressed store, hash-verified
126
return
self.optimizer.state
127
128
def
_set_state(self, value):
129
self.optimizer.state = value
130
131
state = property(_get_state, _set_state)
132
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected