code: def set_lr(optimizer, new_lr):
      """
      Sets the optimizer lr to the specified value.
      Args:
          optimizer (optim): the optimizer using to optimize the current network.
          new_lr (float): the new learning rate to set.
      """
      for param_group in optimizer.param_groups:
          param_group["lr"] = new_lr * param_group["layer_decay"]
  
file_path: SlowFast/slowfast/models/optimizer.py
imports: import torch
  import slowfast.utils.lr_policy
label_desc: Use image node_id 4 for calling a global function with example usage: set_lr(optimizer, new_lr) without return types