class_docstr: supports repeated iterations, configurable via lists
  note: use with a base_lr of 1.0.
class_docstr_tok: ["supports","repeated","iterations",",","configurable","via","lists","note",":","use","with","a","base_lr","of","1.0","."]
code: def find_in_interval(self, n):
      interval = 0
      for cl in self.cum_cycles[1:]:
          if n <= cl:
              return interval
          interval += 1
  
file_path: NeMo/nemo/collections/multimodal/parts/stable_diffusion/lr_scheduler.py
imports: import numpy
label_desc: Use image node_id 2 for calling the LambdaWarmUpCosineScheduler2 obj's underlying member method code with example usage: obj.find_in_interval(n) and returns: interval