code: def parse_args():
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--model_name",
          type=str,
          help="the namespace of gernerated code",
      )
      parser.add_argument("--model_file", type=str, help="model file")
      parser.add_argument("--params_file", type=str, help="params file")
      parser.add_argument(
          "--device",
          type=str,
          default="cpu",
          help="cpu/gpu/hexagon/hta/apu",
      )
      parser.add_argument("--config", type=str, help="model config")
      parser.add_argument(
          "--no_obfuscate",
          action="store_true",
          help="obfuscate model names",
      )
      parser.add_argument(
          "--gencode_model",
          action="store_true",
          help="generate model code",
      )
      parser.add_argument(
          "--gencode_param",
          action="store_true",
          help="generate params code",
      )
      parser.add_argument(
          "--output", type=str, default="build", help="output dir"
      )
  
      flgs, _ = parser.parse_known_args()
      mace_check(
          flgs.model_name not in CPP_KEYWORDS,
          "model name cannot be cpp" "keywords",
      )
      return flgs
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import argparse
  import datetime
  import os
  import hashlib
  from jinja2 import Environment, FileSystemLoader
  from py_proto import mace_pb2
  from utils import device
  from utils import util
  from utils.util import mace_check
  from utils.util import MaceLogger
  from utils import config_parser
  from utils.config_parser import CPP_KEYWORDS
  from transform.base_converter import MaceKeyword
label_desc: Use image node_id 10 for calling a global function with example usage: parse_args() and returns: flgs