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

Method findUseForInput

source/python.js:12884–12892  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

12882 n.destroy();
12883 }
12884 findUseForInput(i) {
12885 const input_uses = this._inputs[i]._uses;
12886 for (const use_it of input_uses) {
12887 if (use_it.user === this && use_it.offset === i) {
12888 return use_it;
12889 }
12890 }
12891 throw new python.Error('Input use not found.');
12892 }
12893 moveBefore(n) {
12894 this.removeFromList();
12895 this.insertBefore(n);

Callers 3

insertInputMethod · 0.80
dropInputMethod · 0.80
removeInputMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected