Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coperception/star
/ load_state_dict
Method
load_state_dict
star/utils/misc.py:276–277 ·
view source on GitHub ↗
(self, state_dict)
Source
from the content-addressed store, hash-verified
274
return
self._scaler.state_dict()
275
276
def
load_state_dict(self, state_dict):
277
self._scaler.load_state_dict(state_dict)
278
279
280
def
get_grad_norm_(parameters, norm_type: float = 2.0) -> torch.Tensor:
Callers
6
main
Function · 0.80
main
Function · 0.80
main
Function · 0.80
load_model
Function · 0.80
resume_from_cpu
Method · 0.80
resume
Method · 0.80
Calls
no outgoing calls
Tested by
3
main
Function · 0.64
main
Function · 0.64
main
Function · 0.64