code: def __init__(
      self,
      optimizer: torch.optim.Optimizer,
      max_iter: int = 90000,
      warmup_factor: float = 0.001,
      warmup_iters: int = 1000,
      warmup_method: str = "linear",
      last_epoch: int = -1,
  ):
      self.warmup_factor = warmup_factor
      self.warmup_iters = warmup_iters
      self.warmup_method = warmup_method
      self.max_iter = max_iter
      super().__init__(optimizer, last_epoch)
  
imports: from typing import List
  import torch
  from torch.optim.lr_scheduler import _LRScheduler
  from torch.optim.lr_scheduler import ReduceLROnPlateau
label_desc: Use image node_id 1 to create a new WarmupLinearLR object from inherited base classes: torch.optim.lr_scheduler with example: obj = WarmupLinearLR(optimizer, max_iter, warmup_factor, warmup_iters, warmup_method, last_epoch)