MCPcopy Create free account
hub / github.com/pytorch/executorch / RunHigherOrderOperatorError

Class RunHigherOrderOperatorError

exir/verification/arg_validator.py:17–25  ·  view source on GitHub ↗

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 = {})

Source from the content-addressed store, hash-verified

15
16
17class 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.

Callers 1

call_functionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected