ONE - On-device Neural Engine
Loading...
Searching...
No Matches
DotBuilder Namespace Reference

Data Structures

class  DotBuilder
 

Functions

 _tensor_name (graph, tid)
 
 _quote (str string)
 

Function Documentation

◆ _quote()

DotBuilder._quote ( str  string)
protected

Definition at line 29 of file DotBuilder.py.

29def _quote(string: str):
30 return '"' + string + '"'
31
32
33# Class to build dot graph from qerror_map

Referenced by DotBuilder.DotBuilder.save().

◆ _tensor_name()

DotBuilder._tensor_name (   graph,
  tid 
)
protected

Definition at line 24 of file DotBuilder.py.

24def _tensor_name(graph, tid):
25 return graph.Tensors(tid).Name().decode('utf-8')
26
27
28# Return double-quoted string

Referenced by DotBuilder.DotBuilder.save().