code: def _generate_target_kind_args(parser, kind_name):
      target_group = parser.add_argument_group(f"target {kind_name}")
      for target_option, target_type in TargetKind.options_from_name(
          kind_name
      ).items():
          if target_type in INTERNAL_TO_NATIVE_TYPE:
              target_group.add_argument(
                  f"--target-{kind_name}-{target_option}",
                  type=INTERNAL_TO_NATIVE_TYPE[target_type],
                  help=f"target {kind_name} {target_option}{INTERNAL_TO_HELP[target_type]}",
              )
  
imports: import os
  import logging
  import json
  import re
  import tvm
  from tvm.driver import tvmc
  from tvm.driver.tvmc import TVMCException
  from tvm.driver.tvmc.composite_target import get_codegen_by_target, get_codegen_names
  from tvm.ir.attrs import make_node, _ffi_api
  from tvm.ir.transform import PassContext
  from tvm.target import Target, TargetKind
label_desc: Use image node_id 2 for calling a global function with example usage: _generate_target_kind_args(parser, kind_name) without return types