code: def parse_args():
      parser = argparse.ArgumentParser(description="Test")
      parser.add_argument(
          "--config",
          help="The deploy config generated by exporting model.",
          type=str,
          required=True,
      )
      parser.add_argument(
          "--image_path",
          help="The directory or path or file list of the images to be predicted.",
          type=str,
          required=True,
      )
  
      parser.add_argument(
          "--dynamic_shape_path",
          type=str,
          default="./dynamic_shape.pbtxt",
          help="The path to save dynamic shape.",
      )
  
      return parser.parse_args()
  
file_path: PaddleSeg/deploy/python/collect_dynamic_shape.py
imports: import argparse
  import os
  import numpy
  from paddle.inference import create_predictor
  from paddle.inference import Config
  from paddleseg.utils import logger, get_image_list, progbar
  from paddleseg.deploy.infer import DeployConfig
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: parser