class_docstr: Graph debug runtime module.
  
  This is a debug wrapper over the TVM runtime.
  Runtime interfaces are wrapped with debug functionalities.
  Manage the debug framework to format the debug data and
  trigger the user interfaces.
  
  Parameters
  ----------
  module : Module
      The internal tvm module that holds the actual graph functions.
  
  device : Device
      The device that this module is under.
  
  graph_json_str : str or graph class
      Content of graph json file in string format
  
  dump_root : str
      To select which folder the outputs should be kept.
      None will make a temp folder in /tmp/tvmdbg<rand_string> and does the dumping
class_docstr_tok: ["Graph","debug","runtime","module",".","This","is","a","debug","wrapper","over","the","TVM","runtime",".","Runtime","interfaces","are","wrapped","with","debug","functionalities",".","Manage","the","debug","framework","to","format","the","debug","data","and","trigger","the","user","interfaces",".","Parameters","--","--","--","--","--","module",":","Module","The","internal","tvm","module","that","holds","the","actual","graph","functions",".","device",":","Device","The","device","that","this","module","is","under",".","graph_json_str",":","str","or","graph","class","Content","of","graph","json","file","in","string","format","dump_root",":","str","To","select","which","folder","the","outputs","should","be","kept",".","None","will","make","a","temp","folder","in","\/tmp\/tvmdbg","<","rand_string",">","and","does","the","dumping"]
docstr: Run graph up to node and get the output to out
  
  Parameters
  ----------
  node : int / str
      The node index or name
  
  out : NDArray
      The output array container
docstr_tok: ["Run","graph","up","to","node","and","get","the","output","to","out","Parameters","--","--","--","--","--","node",":","int","\/","str","The","node","index","or","name","out",":","NDArray","The","output","array","container"]
code: def debug_get_output(self, node, out=None):
      """Run graph up to node and get the output to out
  
      Parameters
      ----------
      node : int / str
          The node index or name
  
      out : NDArray
          The output array container
      """
      if isinstance(node, str):
          node_index = None
          for i, graph_node in enumerate(
              self.debug_datum.get_graph_nodes()
          ):
              if graph_node["name"] == node:
                  node_index = i
                  break
          else:
              raise AttributeError(
                  f"Could not find a node named {node} in this graph."
              )
      elif isinstance(node, int):
          node_index = node
      else:
          raise RuntimeError("Require node index or name only.")
  
      self._debug_get_output(node_index, out)
  
imports: import logging
  import os
  import shutil
  import struct
  import tempfile
  import tvm._ffi
  from tvm._ffi.base import string_types
  from tvm.contrib import graph_executor
  from tvm.runtime.module import BenchmarkResult
  from ...runtime.profiling import Report
  from .None import debug_result
label_desc: Use image node_id 10 for calling the GraphModuleDebug obj's underlying member method code with example usage: obj.debug_get_output(node, out) without return types