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

Method findMethod

source/python.js:10494–10501  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

10492 this._methods.push(method);
10493 }
10494 findMethod(name) {
10495 for (const method of this._methods) {
10496 if (name === method.name()) {
10497 return method;
10498 }
10499 }
10500 return null;
10501 }
10502 getMethod(name) {
10503 const method = this.findMethod(name);
10504 if (!method) {

Callers 4

addMethodMethod · 0.80
getMethodMethod · 0.80
attrMethod · 0.80
emitWithMethod · 0.80

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected