()
| 12562 | this._output.removeInput(i); |
| 12563 | } |
| 12564 | destroy() { |
| 12565 | this._output.removeAllInputs(); |
| 12566 | for (const n of this.nodes()) { |
| 12567 | n.destroy(); |
| 12568 | } |
| 12569 | this._output.destroy(); |
| 12570 | this._input.destroy(); |
| 12571 | this._graph.freeBlock(this); |
| 12572 | } |
| 12573 | }); |
| 12574 | this.registerType('torch.Node', class { |
| 12575 | constructor(graph, kind) { |
no test coverage detected