MCPcopy Index your code
hub / github.com/microsoft/Cream / step_update

Method step_update

TinyViT/tinyvit_utils.py:39–41  ·  view source on GitHub ↗
(self, it)

Source from the content-addressed store, hash-verified

37 self.update_lr()
38
39 def step_update(self, it):
40 self.lr_scheduler.step_update(it)
41 self.update_lr()
42
43 def step_frac(self, frac):
44 if hasattr(self.lr_scheduler, 'step_frac'):

Callers 5

train_one_epochFunction · 0.80
train_epochFunction · 0.80
train_one_epoch_distillFunction · 0.80
train_one_epochFunction · 0.80

Calls 1

update_lrMethod · 0.95

Tested by

no test coverage detected