Return all operator nodes included in the graph as a set.
(self)
| 103 | self._attrs = OrderedDict() |
| 104 | |
| 105 | def ops(self): |
| 106 | """ |
| 107 | Return all operator nodes included in the graph as a set. |
| 108 | """ |
| 109 | ops = [] |
| 110 | for block in self.program.blocks: |
| 111 | for op in block.ops: |
| 112 | ops.append(OpWrapper(op, self)) |
| 113 | return ops |
| 114 | |
| 115 | def var(self, name): |
| 116 | """ |
no test coverage detected