Erases a ``Node`` from the ``Graph``. Throws an exception if there are still users of that node in the ``Graph``.
(self, to_erase: fx.Node)
| 35 | return self._graph.nodes |
| 36 | |
| 37 | def erase_node(self, to_erase: fx.Node) -> None: |
| 38 | """ |
| 39 | Erases a ``Node`` from the ``Graph``. Throws an exception if |
| 40 | there are still users of that node in the ``Graph``. |
| 41 | """ |
| 42 | return self._graph.erase_node(to_erase) |
| 43 | |
| 44 | def inserting_before(self, n: Optional[fx.Node] = None) -> fx.graph._InsertPoint: |
| 45 | """ |
no outgoing calls