MCPcopy Create free account
hub / github.com/microsoft/Cream / step

Method step

TinyViT/tinyvit_utils.py:35–37  ·  view source on GitHub ↗
(self, epoch)

Source from the content-addressed store, hash-verified

33 self.optimizer = optimizer
34
35 def step(self, epoch):
36 self.lr_scheduler.step(epoch)
37 self.update_lr()
38
39 def step_update(self, it):
40 self.lr_scheduler.step_update(it)

Callers 11

mainFunction · 0.45
train_one_epochFunction · 0.45
mainFunction · 0.45
__call__Method · 0.45
after_train_iterMethod · 0.45
mainFunction · 0.45
train_one_epoch_distillFunction · 0.45
train_one_epochFunction · 0.45
mainFunction · 0.45
train_one_epochFunction · 0.45
mainFunction · 0.45

Calls 1

update_lrMethod · 0.95

Tested by

no test coverage detected