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

Method eraseBlock

source/python.js:12878–12883  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

12876 }
12877 }
12878 eraseBlock(i) {
12879 this._op = null;
12880 const n = this._blocks[i];
12881 this._blocks.splice(i, 1);
12882 n.destroy();
12883 }
12884 findUseForInput(i) {
12885 const input_uses = this._inputs[i]._uses;
12886 for (const use_it of input_uses) {

Callers 3

destroyMethod · 0.80
constructorMethod · 0.80

Calls 1

destroyMethod · 0.80

Tested by

no test coverage detected