code: def parse_args():
      parser = argparse.ArgumentParser(
          formatter_class=argparse.ArgumentDefaultsHelpFormatter
      )
      parser.add_argument(
          "--batch-sizes",
          nargs="+",
          type=int,
          default=[1, 4, 8, 32, 64, 128],
          help="List of batch sizes to run",
      )
      parser.add_argument(
          "--thread-counts",
          nargs="+",
          type=int,
          default=[1, 2, 4, 8],
          help="List of thread counts",
      )
      parser.add_argument(
          "--num-samples",
          type=int,
          default=2048,
          help="Number of samples",
      )
      parser.add_argument(
          "--data-path",
          type=str,
          help="Directory path of training dataset",
      )
      parser.add_argument(
          "--save-dir", type=str, help="Directory where to save results"
      )
      return parser.parse_args()
  
file_path: DALI/dali/test/python/test_pipeline_debug_resnet50.py
imports: import argparse
  import numpy
  import nvidia.dali.fn
  import nvidia.dali.types
  import os
  from itertools import product
  from nvidia.dali.pipeline.experimental import pipeline_def
  from time import time
  from test_utils import get_dali_extra_path
label_desc: Use image node_id 5 for calling a global function with example usage: parse_args() and returns: parser