code: def save_checkpoint(tgt_cpt, states):
      with PathManager.open(tgt_cpt, "wb") as f:
          torch.save(
              states,
              f,
          )
  
file_path: fairseq/examples/speech_text_joint_to_text/scripts/convert_model.py
imports: import argparse
  import re
  from collections import OrderedDict
  import torch
  from fairseq.file_io import PathManager
label_desc: Use image node_id 3 for calling a global function with example usage: save_checkpoint(tgt_cpt, states) without return types