(n, type, name)
| 18213 | insert.dispose(); |
| 18214 | } |
| 18215 | addNodeOutput(n, type, name) { |
| 18216 | const out = n.addOutput().setType(type); |
| 18217 | if (torch._C.meaningfulName(name)) { |
| 18218 | out.setDebugName(name); |
| 18219 | } |
| 18220 | const g = n.owningGraph(); |
| 18221 | g.createStore(name, out).insertAfter(n); |
| 18222 | } |
| 18223 | addNodeInput(n, type, name) { |
| 18224 | const g = n.owningGraph(); |
| 18225 | const inp = g.createLoad(name, type).insertBefore(n).output(); |
no test coverage detected