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