Skip to content

momentum_scheduler

allennlp.training.momentum_schedulers.momentum_scheduler

[SOURCE]


MomentumScheduler#

class MomentumScheduler(Scheduler,  Registrable):
 | def __init__(
 |     self,
 |     optimizer: torch.optim.Optimizer,
 |     last_epoch: int = -1
 | ) -> None

get_values#

class MomentumScheduler(Scheduler,  Registrable):
 | ...
 | def get_values(self) -> None