class_docstr: Hexagon Device Session
  
  Parameters
  ----------
  remote_workspace : Union[str, pathlib.Path]
      Remote workspace path
  
  rpc_tracker : tuple(str, int)
      RPC tracker host and port number.
  
  rpc_server_key : str
      RPC server key on remote device.
  
  serial_number : str
      Device serial number. `simulator` used for hexagon simulator.
  
  session_name : str
      Hexagon RPC session name.
  
  remote_stack_size_bytes : int
      The stack size of the remote device, to be passed to
      tvm.contrib.hexagon.create_hexagon_session.
  
  rpc_receive_buffer_size_bytes : int
      RPC receive buffer size in bytes.
class_docstr_tok: ["Hexagon","Device","Session","Parameters","--","--","--","--","--","remote_workspace",":","Union","[","str",",","pathlib.Path","]","Remote","workspace","path","rpc_tracker",":","tuple","(","str",",","int",")","RPC","tracker","host","and","port","number",".","rpc_server_key",":","str","RPC","server","key","on","remote","device",".","serial_number",":","str","Device","serial","number",".","`","simulator","`","used","for","hexagon","simulator",".","session_name",":","str","Hexagon","RPC","session","name",".","remote_stack_size_bytes",":","int","The","stack","size","of","the","remote","device",",","to","be","passed","to","tvm.contrib.hexagon.create_hexagon_session",".","rpc_receive_buffer_size_bytes",":","int","RPC","receive","buffer","size","in","bytes","."]
docstr: Create a local GraphModuleDebug which consumes a remote libmod.
  
  Parameters
  ----------
  graph_json : str
      The string with the graph JSON.
   module_name : Union[str, pathlib.Path, tvm.runtime.Module]
      The remote module filename, following the same restrictions
      as `load_module`.
  session : Session
      Remote session. The session must be established (via __enter__)
      prior to calling this function.
  
  Returns
  -------
  GraphModuleDebug :
      Runtime debug graph module that can be used to debug the graph.
docstr_tok: ["Create","a","local","GraphModuleDebug","which","consumes","a","remote","libmod",".","Parameters","--","--","--","--","--","graph_json",":","str","The","string","with","the","graph","JSON",".","module_name",":","Union","[","str",",","pathlib.Path",",","tvm.runtime.Module","]","The","remote","module","filename",",","following","the","same","restrictions","as","`","load_module","`",".","session",":","Session","Remote","session",".","The","session","must","be","established","(","via","__enter__",")","prior","to","calling","this","function",".","Returns","--","--","--","-","GraphModuleDebug",":","Runtime","debug","graph","module","that","can","be","used","to","debug","the","graph","."]
code: def get_graph_debug_executor(
      self,
      graph_json: str,
      module_name: Union[str, pathlib.Path, tvm.runtime.Module],
      dump_root: Union[str, pathlib.Path] = None,
  ):
      """Create a local GraphModuleDebug which consumes a remote libmod.
  
      Parameters
      ----------
      graph_json : str
          The string with the graph JSON.
       module_name : Union[str, pathlib.Path, tvm.runtime.Module]
          The remote module filename, following the same restrictions
          as `load_module`.
      session : Session
          Remote session. The session must be established (via __enter__)
          prior to calling this function.
  
      Returns
      -------
      GraphModuleDebug :
          Runtime debug graph module that can be used to debug the graph.
      """
  
      graph_debug_mod = self.load_module(module_name)
      self._set_device_type(graph_debug_mod)
      return tvm.contrib.debugger.debug_executor.create(
          graph_json,
          graph_debug_mod,
          self.device,
          dump_root=str(dump_root),
      )
  
imports: import os
  import pathlib
  import tempfile
  from typing import Union
  import tvm
  from tvm import rpc
  import tvm.contrib.hexagon
  from tvm.relay.backend.executor_factory import ExecutorFactoryModule, AOTExecutorFactoryModule, GraphExecutorFactoryModule
  from .tools import export_module, HEXAGON_SIMULATOR_NAME
label_desc: Use image node_id 11 for calling the Session obj's underlying member method code with example usage: obj.get_graph_debug_executor(graph_json, module_name, dump_root) and returns: tvm