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

Method insertStore

source/python.js:14426–14430  ·  view source on GitHub ↗
(name, loc, v, type)

Source from the content-addressed store, hash-verified

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);
14429 this.type_table.set(name, type);
14430 }
14431 findInThisFrame(name) {
14432 if (this.value_table.has(name)) {
14433 return this.value_table.get(name);

Callers 1

setSugaredVarMethod · 0.80

Calls 5

owningGraphMethod · 0.80
setSourceRangeMethod · 0.80
insertNodeMethod · 0.80
createStoreMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected