code: def convert_micro(
      model_name, net_confs, net_def, params, model_output
  ):
      mace_check(
          len(net_confs.items()) == 1,
          "Multi graph not supported in Micro",
      )
      for graph_name, graph_conf in net_confs.items():
          micro_converter = MicroConverter(
              graph_conf,
              copy.deepcopy(net_def),
              copy.deepcopy(params),
              model_name,
          )
          micro_converter.gen_code()
          micro_converter.package(
              model_output + "/" + model_name + "_micro.tar.gz"
          )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import argparse
  import copy
  import sys
  from micro_converter import MicroConverter
  from py_proto import mace_pb2
  from utils import config_parser
  from utils.config_parser import DataFormat
  from utils.config_parser import DeviceType
  from utils.config_parser import Platform
  from utils import util
  from utils.util import mace_check
  from utils.config_parser import normalize_model_config
  from utils.config_parser import ModelKeys
  from utils.convert_util import merge_params
  from transform import base_converter
  from transform import transformer
  from visualize import visualize_model
label_desc: Use image node_id 2 for calling a global function with example usage: convert_micro(model_name, net_confs, net_def, params, model_output) without return types