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

Method hasNamedInput

source/python.js:12610–12617  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

12608 // return this.getOperator().schema();
12609 }
12610 hasNamedInput(name) {
12611 for (const argument of this.schema().arguments) {
12612 if (argument.name === name) {
12613 return true;
12614 }
12615 }
12616 return false;
12617 }
12618 matches(schema) {
12619 if (torch._C.isBlockListedSchema(schema)) {
12620 return false;

Callers 1

isNondeterministicMethod · 0.80

Calls 1

schemaMethod · 0.80

Tested by

no test coverage detected