code: def change_lr(optimizer, new_lr):
      for param_group in optimizer.param_groups:
          param_group["lr"] = new_lr
  
file_path: stanza/stanza/models/common/seq2seq_utils.py
imports: from collections import Counter
  import random
  import json
  import torch
  import stanza.models.common.seq2seq_constant
label_desc: Use image node_id 2 for calling a global function with example usage: change_lr(optimizer, new_lr) without return types