Raised when an we try to run delegate or other HigherOrderOperator in a graph module. E.g., %executorch_call_delegate : [#users=1] = call_function[ target=torch.ops.higher_order.executorch_call_delegate](args = (%lowered_module_0, %arg0_1), kwargs = {})
| 15 | |
| 16 | |
| 17 | class RunHigherOrderOperatorError(Exception): |
| 18 | """ |
| 19 | Raised when an we try to run delegate or other HigherOrderOperator in a graph module. |
| 20 | E.g., %executorch_call_delegate : [#users=1] = call_function[ |
| 21 | target=torch.ops.higher_order.executorch_call_delegate](args = (%lowered_module_0, %arg0_1), kwargs = {}) |
| 22 | """ |
| 23 | |
| 24 | def __init__(self, message: str) -> None: |
| 25 | super().__init__(message) |
| 26 | |
| 27 | |
| 28 | # pyre-ignore[13]: Attribute `node` is never initialized. |