()
| 12648 | return true; |
| 12649 | } |
| 12650 | mustBeNone() { |
| 12651 | return this._kind === 'prim::AutogradZero' || |
| 12652 | (this.outputs().length === 1 && this.output().type() === torch.NoneType.get()) || |
| 12653 | (this._kind === 'prim::Constant' && !this.hasAttributes() && this.output().type() instanceof torch.OptionalType); |
| 12654 | } |
| 12655 | maybeSchema() { |
| 12656 | const op = this.maybeOperator(); |
| 12657 | if (op) { |
no test coverage detected