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

Method getOperators

source/python.js:6630–6636  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

6628 this.to_register.push(op);
6629 }
6630 getOperators(name) {
6631 this.registerPendingOperators();
6632 if (this.operators.has(name)) {
6633 return this.operators.get(name);
6634 }
6635 return [];
6636 }
6637 });
6638 this.registerFunction('torch._C.getAllOperatorsFor', (name) => {
6639 return torch._C.getRegistry().getOperators(name);

Callers 1

constructorMethod · 0.80

Calls 3

hasMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected