MCPcopy
hub / github.com/lutzroeder/netron / addBlockInput

Method addBlockInput

source/python.js:18204–18207  ·  view source on GitHub ↗
(b, type, name)

Source from the content-addressed store, hash-verified

18202 return old_frame;
18203 }
18204 addBlockInput(b, type, name) {
18205 const g = b.owningGraph();
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();

Callers 1

addLoopLoadStoresMethod · 0.80

Calls 6

owningGraphMethod · 0.80
insertAfterMethod · 0.80
createStoreMethod · 0.80
setTypeMethod · 0.80
addInputMethod · 0.80
param_nodeMethod · 0.80

Tested by

no test coverage detected