MCPcopy
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_pretrainedFunction · 0.80
save_checkpointFunction · 0.80
load_pretrainedFunction · 0.80
save_checkpointFunction · 0.80
save_checkpointFunction · 0.80
train_one_epochFunction · 0.80
train_one_epochFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected