MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / _get_closed_form_lr

Method _get_closed_form_lr

schedulers/linearlr.py:78–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76 for group in self.optimizer.param_groups]
77
78 def _get_closed_form_lr(self):
79 return [base_lr * (self.start_factor +
80 (self.end_factor - self.start_factor) * min(self.total_iters, self.last_epoch) / self.total_iters)
81 for base_lr in self.base_lrs]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected