code: def parse_args():
      """Parses command line arguments."""
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--platform",
          type=str,
          default="",
          help="TensorFlow or Caffe.",
      )
      parser.add_argument(
          "--model_file",
          type=str,
          default="",
          help="TensorFlow or Caffe 'GraphDef' file to load.",
      )
      parser.add_argument(
          "--weight_file",
          type=str,
          default="",
          help="caffe model file to load.",
      )
      parser.add_argument(
          "--input_file", type=str, default="", help="input file."
      )
      parser.add_argument(
          "--mace_out_file",
          type=str,
          default="",
          help="mace output file to load.",
      )
      parser.add_argument(
          "--device_type",
          type=str,
          default="",
          help="mace runtime device.",
      )
      parser.add_argument(
          "--input_shape",
          type=str,
          default="1,64,64,3",
          help="input shape.",
      )
      parser.add_argument(
          "--input_data_format",
          type=str,
          default="NHWC",
          help="input data format.",
      )
      parser.add_argument(
          "--output_shape",
          type=str,
          default="1,64,64,2",
          help="output shape.",
      )
      parser.add_argument(
          "--output_data_format",
          type=str,
          default="NHWC",
          help="output data format.",
      )
      parser.add_argument(
          "--input_node",
          type=str,
          default="input_node",
          help="input node",
      )
      parser.add_argument(
          "--input_data_type",
          type=str,
          default="",
          help="input data type",
      )
      parser.add_argument(
          "--output_node",
          type=str,
          default="output_node",
          help="output node",
      )
      parser.add_argument(
          "--validation_threshold",
          type=float,
          default=0.995,
          help="validation similarity threshold",
      )
      parser.add_argument(
          "--backend",
          type=str,
          default="tensorflow",
          help="onnx backend framwork",
      )
      parser.add_argument(
          "--validation_outputs_data",
          type=str,
          default="",
          help="validation outputs data file path.",
      )
      parser.add_argument(
          "--log_file", type=str, default="", help="log file."
      )
  
      return parser.parse_known_args()
  
imports: import argparse
  import sys
  import os
  import os.path
  import numpy
  import six
  import common
label_desc: Use image node_id 17 for calling a global function with example usage: parse_args() and returns: parser