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

Method __init__

optimizers/lr_scheduler.py:415–418  ·  view source on GitHub ↗
(self, optimizer, step_size, gamma=0.1, last_epoch=-1)

Source from the content-addressed store, hash-verified

413 """
414
415 def __init__(self, optimizer, step_size, gamma=0.1, last_epoch=-1):
416 self.step_size = step_size
417 self.gamma = gamma
418 super(StepLR, self).__init__(optimizer, last_epoch)
419
420 def get_lr(self):
421 if not self._get_lr_called_within_step:

Callers 9

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected