Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/microsoft/Swin-Transformer
/ load_state_dict
Method
load_state_dict
utils.py:224–225 ·
view source on GitHub ↗
(self, state_dict)
Source
from the content-addressed store, hash-verified
222
return
self._scaler.state_dict()
223
224
def
load_state_dict(self, state_dict):
225
self._scaler.load_state_dict(state_dict)
Callers
6
load_checkpoint
Function · 0.80
load_pretrained
Function · 0.80
load_checkpoint
Function · 0.80
load_pretrained
Function · 0.80
load_checkpoint
Function · 0.80
load_pretrained
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected