(n)
| 12936 | this._graph.freeNode(this); |
| 12937 | } |
| 12938 | replaceAllUsesWith(n) { |
| 12939 | torch._C.AT_ASSERT(this.outputs().length === n.outputs().length); |
| 12940 | const nOutputs = this.outputs().length; |
| 12941 | for (let i = 0; i < nOutputs; i++) { |
| 12942 | this.outputs()[i].replaceAllUsesWith(n.outputs()[i]); |
| 12943 | } |
| 12944 | } |
| 12945 | s_(name, value) { |
| 12946 | this._values.set(name, [value, 's']); |
| 12947 | return this; |
no test coverage detected