code: def _main():
      parser = _get_parser()
      args, unknown_args = parser.parse_known_args()
      temp_filename = uuid.uuid4().hex
      ir_args, unknown_args = _extract_ir_args(
          args, unknown_args, temp_filename
      )
      ret = convertToIR._convert(ir_args)
      if int(ret) != 0:
          _sys.exit(int(ret))
      if args.dstFramework != "coreml":
          network_filename = get_network_filename(
              args.dstFramework, temp_filename, args.outputModel
          )
          code_args, unknown_args = _extract_code_args(
              args, unknown_args, temp_filename, network_filename
          )
          ret = IRToCode._convert(code_args)
          if int(ret) != 0:
              _sys.exit(int(ret))
          from mmdnn.conversion._script.dump_code import dump_code
  
          dump_code(
              args.dstFramework,
              network_filename + ".py",
              temp_filename + ".npy",
              args.outputModel,
              args.dump_tag,
          )
          remove_temp_files(temp_filename)
  
      else:
          model_args, unknown_args = _extract_model_args(
              args, unknown_args, temp_filename
          )
          ret = IRToModel._convert(model_args)
          remove_temp_files(temp_filename)
          _sys.exit(int(ret))
  
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 7 for calling a global function with example usage: _main() without return types