()
| 12653 | (this._kind === 'prim::Constant' && !this.hasAttributes() && this.output().type() instanceof torch.OptionalType); |
| 12654 | } |
| 12655 | maybeSchema() { |
| 12656 | const op = this.maybeOperator(); |
| 12657 | if (op) { |
| 12658 | return op.schema(); |
| 12659 | } |
| 12660 | return null; |
| 12661 | } |
| 12662 | maybeOperator() { |
| 12663 | if (!this._op) { |
| 12664 | const candidates = torch._C.getAllOperatorsFor(this.kind()); |
no test coverage detected