code: def __init__(self, optimizer: Optimizer, T_max: int, eta_min=0):
      super().__init__(optimizer)
      self.T_max = T_max
      self.eta_min = eta_min
      self.eta_max = optimizer.lr.numpy()[0]
  
imports: import math
  from typing import List
  from tinygrad.nn.optim import Optimizer
  from tinygrad.tensor import Tensor
label_desc: Use image node_id 1 to create a new CosineAnnealingLR object from inherited base classes: LR_Scheduler with example: obj = CosineAnnealingLR(optimizer, T_max, eta_min)