class_docstr: Partitioner base class of the Universal Modular Accelerator Interface (UMA).
class_docstr_tok: ["Partitioner","base","class","of","the","Universal","Modular","Accelerator","Interface","(","UMA",")","."]
code: def __init__(
      self, target_name: str, merge_compiler_regions: bool = True
  ) -> None:
      self.target_name = target_name
      self.merge_compiler_regions = merge_compiler_regions
  
      self._relay_passes: List[
          Tuple[PassPhase, tvm.transform.Pass]
      ] = []
      self._patterns: PatternTable = []
  
file_path: tvm/python/tvm/relay/backend/contrib/uma/api/partitioner.py
imports: from typing import Callable, Dict, List, Tuple, Optional
  import tvm
  from tvm import relay
  from tvm.relay.build_module import bind_params_by_name
  from tvm.relay.op.contrib.register import register_pattern_table
  from .utils import PassPhase
label_desc: Use image node_id 1 to create a new UMAPartitioner object  with example: obj = UMAPartitioner(target_name, merge_compiler_regions)