(name)
| 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); |
no test coverage detected