(name, type)
| 14416 | runner.error_messages.set(name, msg); |
| 14417 | } |
| 14418 | insertLoad(name, type) { |
| 14419 | const g = this.b.owningGraph(); |
| 14420 | const load = g.insertNode(g.createLoad(name, type)); |
| 14421 | if (torch._C.meaningfulName(name)) { |
| 14422 | load.output().setDebugName(name); |
| 14423 | } |
| 14424 | return new torch._C.SimpleValue(load.output()); |
| 14425 | } |
| 14426 | insertStore(name, loc, v, type) { |
| 14427 | const g = this.b.owningGraph(); |
| 14428 | g.insertNode(g.createStore(name, v)).setSourceRange(loc); |
no test coverage detected