MCPcopy
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_checkpointFunction · 0.80
load_pretrainedFunction · 0.80
load_checkpointFunction · 0.80
load_pretrainedFunction · 0.80
load_checkpointFunction · 0.80
load_pretrainedFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected