class_docstr: UMA backend for the MyAiHw accelerator.
code: def __init__(self):
      super().__init__()
  
      # Target configuration
      self._register_target_attr("dimension")
  
      # Relay Pattern registration
      self._register_pattern("conv2d", conv2d_pattern())
  
      # Relay to TIR function registration
      self._register_tir_pass(PassPhase.TIR_PHASE_0, MyAiHwConv2dPass())
  
      # TIR to runtime function registration
      self._register_codegen(fmt="c", includes=gen_includes)
  
file_path: tvm/apps/uma/_template/backend.py
imports: from passes import MyAiHwConv2dPass
  from tvm.relay.backend.contrib.uma.api.utils import PassPhase
  from tvm.relay.backend.contrib.uma.backend import UMABackend
  from codegen import gen_includes
  from patterns import conv2d_pattern
label_desc: Use image node_id 1 to create a new MyAiHwBackend object from inherited base classes: UMABackend with example: obj = MyAiHwBackend()