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

Method argumentIndexWithName

source/python.js:6422–6425  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

6420 return this._is_varret;
6421 }
6422 argumentIndexWithName(name) {
6423 const index = this.arguments.findIndex((arg) => arg.name === name);
6424 return index === -1 ? null : index;
6425 }
6426 _parse() {
6427 if (this._buffer) {
6428 const parser = new torch._C.SchemaParser(this._buffer, true /* parseSchemaOrName */);

Callers 2

constructorMethod · 0.80
tryCreateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected