MCPcopy
hub / github.com/microsoft/Cream / state_dict

Method state_dict

TinyViT/tinyvit_utils.py:72–73  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

70 group['lr'] *= lr_scale
71
72 def state_dict(self):
73 return self.lr_scheduler.state_dict()
74
75 def load_state_dict(self, *args, **kwargs):
76 self.lr_scheduler.load_state_dict(*args, **kwargs)

Callers 15

mainFunction · 0.45
mainFunction · 0.45
train_one_epochFunction · 0.45
test_finetuneMethod · 0.45
init_weightsMethod · 0.45
no_weight_decayMethod · 0.45
load_checkpointFunction · 0.45
save_checkpointFunction · 0.45
save_checkpointFunction · 0.45
load_modelFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_finetuneMethod · 0.36