MCPcopy Index your code
hub / github.com/lutzroeder/netron / insertLoad

Method insertLoad

source/python.js:14418–14425  ·  view source on GitHub ↗
(name, type)

Source from the content-addressed store, hash-verified

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);

Callers 1

findInThisFrameMethod · 0.80

Calls 5

owningGraphMethod · 0.80
insertNodeMethod · 0.80
createLoadMethod · 0.80
setDebugNameMethod · 0.80
outputMethod · 0.45

Tested by

no test coverage detected