MCPcopy Create free account
hub / github.com/pytorch/executorch / __init__

Method __init__

backends/qualcomm/debugger/utils.py:20–33  ·  view source on GitHub ↗
(
        self,
        filename: str,
        directory: str,
        py_op_wrapper_list: [PyQnnManager.PyQnnOpWrapper],
        dot_string=False,
    )

Source from the content-addressed store, hash-verified

18
19class DrawGraph:
20 def __init__(
21 self,
22 filename: str,
23 directory: str,
24 py_op_wrapper_list: [PyQnnManager.PyQnnOpWrapper],
25 dot_string=False,
26 ):
27 self.filename = filename
28 self.directory = directory
29 self.py_op_wrapper_list = py_op_wrapper_list
30 self.dot = Digraph(filename, format="svg")
31 self.dot.attr(rankdir="TB")
32 self.dot_string = dot_string
33 self.draw()
34
35 def dfs_add_edges(self, node_name, visited, node_list):
36 if node_name in visited:

Callers

nothing calls this directly

Calls 1

drawMethod · 0.95

Tested by

no test coverage detected