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

Method removeAllInputs

source/python.js:12906–12912  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12904 this._inputs.splice(i, 1);
12905 }
12906 removeAllInputs() {
12907 this._op = null;
12908 for (let i = 0; i < this._inputs.length; i++) {
12909 this.dropInput(i);
12910 }
12911 this._inputs = [];
12912 }
12913 inBlockList() {
12914 return this.next !== null;
12915 }

Callers 1

destroyMethod · 0.80

Calls 1

dropInputMethod · 0.80

Tested by

no test coverage detected