class_docstr: Cyclic LR: https://arxiv.org/abs/1811.11431
class_docstr_tok: ["Cyclic","LR",":","https",":","\/\/arxiv.org\/abs\/1811.11431"]
code: def _lr_per_cycle(self) -> None:
      lrs = list(
          np.linspace(
              self.max_lr,
              self.min_lr,
              self.cycle_length,
              dtype=np.float32,
          )
      )
      lrs = [lrs[-1]] + lrs[:-1]
      self.cycle_lrs = lrs
  
file_path: ml-cvnets/optim/scheduler/cyclic.py
imports: import argparse
  import math
  import numpy
  from optim.scheduler import SCHEDULER_REGISTRY
  from optim.scheduler.base_scheduler import BaseLRScheduler
  from utils import logger
label_desc: Use image node_id 2 for calling the CyclicLRScheduler obj's underlying member method code with example usage: obj._lr_per_cycle() without return types