Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zai-org/CodeGeeX
/ state_dict
Method
state_dict
codegeex/megatron/optimizer/optimizer.py:501–502 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
499
pass
500
501
def
state_dict(self):
502
return
self.optimizer.state_dict()
503
504
def
load_state_dict(self, state_dict):
505
self.optimizer.load_state_dict(state_dict)
Callers
2
__init__
Method · 0.45
state_dict
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected