code: def update_lr(optimizer, lr):
      for param_group in optimizer.param_groups:
          param_group["lr"] = lr
  
file_path: pytorch-tutorial/tutorials/02-intermediate/deep_residual_network/main.py
imports: import torch
  import torch.nn
  import torchvision
  import torchvision.transforms
label_desc: Use image node_id 2 for calling a global function with example usage: update_lr(optimizer, lr) without return types