code: def get_codegen_by_target(name):
      """Return a codegen entry by name.
  
      Parameters
      ----------
      name : str
          The name of the target for which the codegen info should be retrieved.
  
      Returns
      -------
      dict
          requested target codegen information
      """
      try:
          return REGISTERED_CODEGEN[name]
      except KeyError:
          raise TVMCException(
              "Composite target %s is not defined in TVMC." % name
          )
  
file_path: tvm/python/tvm/driver/tvmc/composite_target.py
imports: import logging
  import tvm.contrib.target.vitis_ai
  from tvm.relay.op.contrib.arm_compute_lib import partition_for_arm_compute_lib
  from tvm.relay.op.contrib.ethosn import partition_for_ethosn
  from tvm.relay.op.contrib.cmsisnn import partition_for_cmsisnn
  from tvm.relay.op.contrib.ethosu import partition_for_ethosu
  from tvm.relay.op.contrib.bnns import partition_for_bnns
  from tvm.relay.op.contrib.vitis_ai import partition_for_vitis_ai
  from tvm.relay.op.contrib.clml import partition_for_clml
  from tvm.driver.tvmc import TVMCException
label_desc: Use image node_id 2 for calling a global function with example usage: get_codegen_by_target(name) and returns: REGISTERED_CODEGEN