code: def learning_rates(optimizer):
      for param_group in optimizer.param_groups:
          yield param_group["lr"]
  
imports: import torch
  from fairseq.utils import clip_grad_norm_
  from pytext.config import ConfigBase
  from pytext.config.component import Component, ComponentType
label_desc: Use image node_id 1 for calling a global function with example usage: learning_rates(optimizer) without return types