MCPcopy 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
330def is_main_process():

Callers 2

load_checkpointFunction · 0.45
load_pretrainedFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected