MCPcopy Create free account
hub / github.com/AtlasAnalyticsLab/AdaFisher / __init__

Method __init__

optimizers/lr_scheduler.py:491–493  ·  view source on GitHub ↗
(self, optimizer, gamma, last_epoch=-1)

Source from the content-addressed store, hash-verified

489 """
490
491 def __init__(self, optimizer, gamma, last_epoch=-1):
492 self.gamma = gamma
493 super(ExponentialLR, self).__init__(optimizer, last_epoch)
494
495 def get_lr(self):
496 if not self._get_lr_called_within_step:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected