code: def _get_parser():
      parser = argparse.ArgumentParser()
  
      parser.add_argument(
          "--srcFramework",
          "-sf",
          type=_text_type,
          choices=[
              "caffe",
              "caffe2",
              "cntk",
              "mxnet",
              "keras",
              "tensorflow",
              "tf",
              "pytorch",
          ],
          help="Source toolkit name of the model to be converted.",
      )
      parser.add_argument(
          "--inputWeight",
          "-iw",
          type=_text_type,
          default=None,
          help="Path to the model weights file of the external tool (e.g caffe weights proto binary, keras h5 binary",
      )
      parser.add_argument(
          "--inputNetwork",
          "-in",
          type=_text_type,
          default=None,
          help="Path to the model network file of the external tool (e.g caffe prototxt, keras json",
      )
      parser.add_argument(
          "--dstFramework",
          "-df",
          type=_text_type,
          choices=[
              "caffe",
              "caffe2",
              "cntk",
              "mxnet",
              "keras",
              "tensorflow",
              "coreml",
              "pytorch",
              "onnx",
          ],
          required=True,
          help="Format of model at srcModelPath (default is to auto-detect).",
      )
      parser.add_argument(
          "--outputModel",
          "-om",
          type=_text_type,
          required=True,
          help="Path to save the destination 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/convert.py
imports: import sys
  import argparse
  import mmdnn.conversion._script.convertToIR
  import mmdnn.conversion._script.IRToCode
  import mmdnn.conversion._script.IRToModel
  from six import text_type
  import uuid
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: _get_parser() and returns: parser