code: def parse_args():
      parser = argparse.ArgumentParser(description="Model analysis")
      parser.add_argument(
          "--config", dest="cfg", help="Config file.", type=str
      )
      parser.add_argument(
          "--input_shape",
          nargs="+",
          type=int,
          help="Shape of the input shape, e.g. `--input_shape 1 3 1024 1024`",
          default=[1, 3, 1024, 1024],
      )
      parser.add_argument(
          "--num_levels",
          type=int,
          help="Maximum levels of layers to show.",
          default=None,
      )
      return parser.parse_args()
  
file_path: PaddleSeg/contrib/PanopticSeg/tools/analyze_model.py
imports: import argparse
  import io
  import sys
  import contextlib
  from collections import OrderedDict
  import paddle
  from paddle.hapi.static_flops import Table
  from paddle.hapi.dynamic_flops import count_parameters, register_hooks, count_io_info
  from paddleseg.utils import get_sys_env, logger, op_flops_funs, utils
  from paddlepanseg.cvlibs import Config, make_default_builder
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: parser