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

Method run_node

exir/verification/arg_validator.py:44–53  ·  view source on GitHub ↗
(self, n: torch.fx.Node)

Source from the content-addressed store, hash-verified

42 ] = defaultdict(dict)
43
44 def run_node(self, n: torch.fx.Node) -> None:
45 self.node = n
46 try:
47 ret = super().run_node(n)
48 except Exception as e:
49 if isinstance(e, (InternalError, ExportError, RunHigherOrderOperatorError)):
50 raise e
51 else:
52 raise InternalError(str(e)) from e
53 return ret
54
55 def _get_kernel_arg(self, schema_arg, schema_arg_idx, args, kwargs):
56 if schema_arg.name in kwargs:

Callers

nothing calls this directly

Calls 1

InternalErrorClass · 0.90

Tested by

no test coverage detected