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

Method findForwardPreHook

source/python.js:10533–10540  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

10531 return null;
10532 }
10533 findForwardPreHook(name) {
10534 for (const pre_hook of this._forward_pre_hooks) {
10535 if (name === pre_hook.name()) {
10536 return pre_hook;
10537 }
10538 }
10539 return null;
10540 }
10541 numAttributes() {
10542 return this._attributes.length;
10543 }

Callers 1

findHookMethod · 0.80

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected