class_docstr: Wrapper of runtime module, caller can use this module to set parameters and get outputs.
  
  Parameters
  ----------
  module : Union[PipelineExecutorFactoryModule, Module]
      Common interface for pipeline executor factory modules or Module.
class_docstr_tok: ["Wrapper","of","runtime","module",",","caller","can","use","this","module","to","set","parameters","and","get","outputs",".","Parameters","--","--","--","--","--","module",":","Union","[","PipelineExecutorFactoryModule",",","Module","]","Common","interface","for","pipeline","executor","factory","modules","or","Module","."]
code: def __init__(self, module):
      if isinstance(module, PipelineExecutorFactoryModule):
          self.module = module.get_pipeline_executor_module()
      else:
          self.module = module
      # Get the packed functions from the pipeline executor.
      self._get_params_group_pipeline_map = self.module[
          "get_params_group_pipeline_map"
      ]
      self._run = self.module["run"]
      self._set_param = self.module["set_param"]
      self._set_input = self.module["set_input"]
      self._get_input = self.module["get_input"]
      self._get_output = self.module["get_output"]
      self._get_num_outputs = self.module["get_num_outputs"]
      self._get_num_inputs = self.module["get_num_inputs"]
      self._get_input_pipeline_map = self.module[
          "get_input_pipeline_map"
      ]
      self._get_pipe_execute_count = self.module["get_execute_count"]
  
imports: import json
  import os
  import time
  from tvm import runtime
  from tvm._ffi import get_global_func
  from tvm.contrib import graph_executor
label_desc: Use image node_id 1 to create a new PipelineModule object from inherited base classes: object with example: obj = PipelineModule(module)