code: def parse_args():
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--config", type=str, default="", help="yaml conf path"
      )
      parser.add_argument(
          "--model_name",
          type=str,
          default="",
          help="model name in yaml conf",
      )
      parser.add_argument(
          "--validate", action="store_true", help="enable validate"
      )
      parser.add_argument(
          "--validate_threshold",
          type=float,
          default="0.99",
          help="validate threshold",
      )
      parser.add_argument(
          "--layers",
          type=str,
          default="-1",
          help="'start_layer:end_layer' or 'layer', similar to python slice."
          " Use with --validate flag.",
      )
      parser.add_argument(
          "--backend",
          type=str,
          default="tensorflow",
          help="onnx backend framework",
      )
      parser.add_argument(
          "--build", action="store_true", help="if build before run"
      )
      parser.add_argument(
          "--output", type=str, default="build", help="output dir"
      )
      parser.add_argument(
          "--vlog_level", type=int, default="0", help="vlog level"
      )
      parser.add_argument(
          "--debug_mode", action="store_true", help="debug mode"
      )
  
      return parser.parse_known_args()
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import argparse
  import copy
  import numpy
  import shutil
  import tempfile
  from micro_converter import MicroConverter
  from py_proto import mace_pb2
  import run_target
  from utils import util
  from utils import device
  from utils import config_parser
  from utils.target import Target
  from utils.config_parser import ModelKeys
  from utils.util import MaceLogger
  from utils.util import mace_check
  import validate
  import layers_validate
label_desc: Use image node_id 9 for calling a global function with example usage: parse_args() and returns: parser