code: def set_lr(optimizer, new_lr):
      """Sets the optimizer lr to the specified value."""
      for param_group in optimizer.param_groups:
          param_group["lr"] = new_lr
  
file_path: pycls/pycls/core/optimizer.py
imports: import matplotlib.pyplot
  import numpy
  import torch
  from pycls.core.config import cfg
label_desc: Use image node_id 8 for calling a global function with example usage: set_lr(optimizer, new_lr) without return types