class_docstr: Cyclic cosine annealing.
  
  Args:
      cosine_warmup (int): number of warmup iterations.
      cosine_total (int): number of total annealing iterations.
  
  Notes:
      Proposed in https://openreview.net/pdf?id=BJYwwY9ll
      (and https://arxiv.org/pdf/1608.03983.pdf).
      Used in the GPT2 config of Megatron-LM https://github.com/NVIDIA/Megatron-LM
class_docstr_tok: ["Cyclic","cosine","annealing",".","Args",":","cosine_warmup","(","int",")",":","number","of","warmup","iterations",".","cosine_total","(","int",")",":","number","of","total","annealing","iterations",".","Notes",":","Proposed","in","https",":","\/\/openreview.net\/pdf","?","id=BJYwwY9ll","(","and","https",":","\/\/arxiv.org\/pdf\/1608.03983.pdf",")",".","Used","in","the","GPT2","config","of","Megatron-LM","https",":","\/\/github.com\/NVIDIA\/Megatron-LM"]
docstr: Add scheduler args.
docstr_tok: ["Add","scheduler","args","."]
code: def _add_arguments(parser: _PrefixParser):
      """Add scheduler args."""
      parser.add_argument(
          "--warmup",
          type=int,
          default=1000,
          help="Number of warmup iterations.",
      )
      parser.add_argument(
          "--total",
          type=int,
          default=100000,
          help="Number of total annealing iterations.",
      )
  
imports: import argparse
  from espnet.utils.dynamic_import import dynamic_import
  from espnet.utils.fill_missing_args import fill_missing_args
label_desc: Use image node_id 1 for calling the CyclicCosineScheduler obj's underlying member method code with example usage: obj._add_arguments(parser) without return types