class_docstr: Delegate lr scheduling to the optimizer.
code: def __init__(self, cfg: PassThroughScheduleConfig, optimizer):
      super().__init__(cfg, optimizer)
      assert (
          hasattr(optimizer, "lr_scheduler")
          and optimizer.lr_scheduler is not None
      ), "Pass-through schedule can only be used with optimizers with their own schedulers"
  
file_path: fairseq/fairseq/optim/lr_scheduler/pass_through.py
imports: from dataclasses import dataclass
  from fairseq.dataclass import FairseqDataclass
  from fairseq.optim.lr_scheduler import FairseqLRScheduler, register_lr_scheduler
label_desc: Use image node_id 1 to create a new PassThroughScheduleSchedule object from inherited base classes: FairseqLRScheduler with example: obj = PassThroughScheduleSchedule(cfg, optimizer)