| 108 | |
| 109 | |
| 110 | class NodePyOP(NodePy): |
| 111 | def __init__(self, node_cpp): |
| 112 | super().__init__(node_cpp, methods_OP) |
| 113 | # Replace single quote which causes strange behavior in TensorBoard |
| 114 | # TODO: See if we can remove this in the future |
| 115 | self.attributes = str( |
| 116 | {k: _node_get(node_cpp, k) for k in node_cpp.attributeNames()} |
| 117 | ).replace("'", " ") |
| 118 | self.kind = node_cpp.kind() |
| 119 | |
| 120 | |
| 121 | class GraphPy: |
no outgoing calls
no test coverage detected
searching dependent graphs…