code: def get_args():
      parser = argparse.ArgumentParser()
      parser.add_argument("--log_dir", type=Path, default=".")
      parser.add_argument(
          "--out_dir", type=Path, default="charts/repl_scale"
      )
      args = parser.parse_args()
      return args
  
file_path: deepspeedexamples/benchmarks/inference/mii/plot_repl_scale.py
imports: import glob
  import matplotlib.pyplot
  import argparse
  from pathlib import Path
  import numpy
  from postprocess_results import read_json, get_summary
label_desc: Use image node_id 1 for calling a global function with example usage: get_args() and returns: args