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

Method call_delegate

exir/pass_base.py:741–756  ·  view source on GitHub ↗
(
        self,
        # pyre-ignore: Undefined or invalid type [11]: Annotation `LoweredBackendModule` is not defined as a type.
        lowered_module: "LoweredBackendModule",  # noqa
        args: Tuple[ProxyValue, ...],
        kwargs: Dict[str, Argument],
        meta: NodeMetadata,
    )

Source from the content-addressed store, hash-verified

739 return super().call_function(target, args, kwargs)
740
741 def call_delegate(
742 self,
743 # pyre-ignore: Undefined or invalid type [11]: Annotation `LoweredBackendModule` is not defined as a type.
744 lowered_module: "LoweredBackendModule", # noqa
745 args: Tuple[ProxyValue, ...],
746 kwargs: Dict[str, Argument],
747 meta: NodeMetadata,
748 ) -> ProxyValue:
749 args = (lowered_module,) + args
750 return self._fx(
751 "call_function",
752 executorch_call_delegate,
753 args,
754 kwargs,
755 meta,
756 )
757
758 def call_submodule(
759 self, graph_module: fx.GraphModule, inputs: Tuple[Argument, ...]

Callers 1

call_functionMethod · 0.45

Calls 1

_fxMethod · 0.45

Tested by

no test coverage detected