(exit_block, type, name)
| 18206 | g.createStore(name, b.addInput(name).setType(type)).insertAfter(b.param_node()); |
| 18207 | } |
| 18208 | addBlockOutput(exit_block, type, name) { |
| 18209 | const insert = new torch._C.WithInsertPoint(exit_block); |
| 18210 | const g = exit_block.owningGraph(); |
| 18211 | const block_exit = g.insertNode(g.createLoad(name, type)).output(); |
| 18212 | exit_block.registerOutput(block_exit); |
| 18213 | insert.dispose(); |
| 18214 | } |
| 18215 | addNodeOutput(n, type, name) { |
| 18216 | const out = n.addOutput().setType(type); |
| 18217 | if (torch._C.meaningfulName(name)) { |
no test coverage detected