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

Method removeInput

source/python.js:12897–12905  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

12895 this.insertBefore(n);
12896 }
12897 removeInput(i) {
12898 this._op = null;
12899 this.dropInput(i);
12900 for (let j = i + 1; j < this._inputs.length; j++) {
12901 const it = this.findUseForInput(j);
12902 it.offset--;
12903 }
12904 this._inputs.splice(i, 1);
12905 }
12906 removeAllInputs() {
12907 this._op = null;
12908 for (let i = 0; i < this._inputs.length; i++) {

Callers 4

eraseOutputMethod · 0.80
constructorMethod · 0.80

Calls 2

dropInputMethod · 0.80
findUseForInputMethod · 0.80

Tested by

no test coverage detected