Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/microsoft/Cream
/ load_state_dict
Method
load_state_dict
TinyViT/utils.py:326–327 ·
view source on GitHub ↗
(self, state_dict)
Source
from the content-addressed store, hash-verified
324
return
self._scaler.state_dict()
325
326
def
load_state_dict(self, state_dict):
327
self._scaler.load_state_dict(state_dict)
328
329
330
def
is_main_process():
Callers
2
load_checkpoint
Function · 0.45
load_pretrained
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected