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

Method removeOutputs

source/python.js:18746–18750  ·  view source on GitHub ↗
(b)

Source from the content-addressed store, hash-verified

18744 return block.owningNode() === null || torch._C.ExitTransformer.owningNodeKind(block) === 'prim::Closure';
18745 }
18746 static removeOutputs(b) {
18747 while (b.outputs().length > 0) {
18748 b.eraseOutput(0);
18749 }
18750 }
18751 static registerBlockOutputs(b, outs) {
18752 for (const out of outs) {
18753 b.registerOutput(out);

Callers 1

replaceBlockOutputsMethod · 0.80

Calls 2

eraseOutputMethod · 0.80
outputsMethod · 0.45

Tested by

no test coverage detected