code: def __init__(
      self, optimizer: torch.optim.Optimizer, last_epoch: int = -1
  ) -> None:
      super().__init__(optimizer, "momentum", last_epoch)
  
file_path: allennlp/allennlp/training/momentum_schedulers/momentum_scheduler.py
imports: import torch
  from allennlp.common.registrable import Registrable
  from allennlp.training.scheduler import Scheduler
label_desc: Use image node_id 1 to create a new MomentumScheduler object from inherited base classes: Scheduler, Registrable with example: obj = MomentumScheduler(optimizer, last_epoch)