code: def _get_parser():
      import argparse
  
      parser = argparse.ArgumentParser(
          description="Dump the model code into target model."
      )
  
      parser.add_argument(
          "-f",
          "--framework",
          type=_text_type,
          choices=[
              "caffe",
              "cntk",
              "mxnet",
              "keras",
              "tensorflow",
              "pytorch",
              "onnx",
          ],
          required=True,
          help="Format of model at srcModelPath (default is to auto-detect).",
      )
  
      parser.add_argument(
          "-in",
          "--inputNetwork",
          type=_text_type,
          required=True,
          help="Path to the model network architecture file.",
      )
  
      parser.add_argument(
          "-iw",
          "--inputWeight",
          type=_text_type,
          required=True,
          help="Path to the model network weight file.",
      )
  
      parser.add_argument(
          "-o",
          "-om",
          "--outputModel",
          type=_text_type,
          required=True,
          help="Path to save the target model",
      )
  
      parser.add_argument(
          "--dump_tag",
          type=_text_type,
          default=None,
          help="Tensorflow model dump type",
          choices=["SERVING", "TRAINING"],
      )
  
      return parser
  
file_path: MMdnn/mmdnn/conversion/_script/dump_code.py
imports: import sys
  from six import text_type
  import sys
  import imp
  import os.path
label_desc: Use image node_id 2 for calling a global function with example usage: _get_parser() and returns: parser