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

Method should_delegate

backends/qualcomm/utils/utils.py:113–114  ·  view source on GitHub ↗
(self, n: torch.fx.Node)

Source from the content-addressed store, hash-verified

111 self.skip_annotated_submodule = skip_annotated_submodule
112
113 def should_delegate(self, n: torch.fx.Node):
114 return n.op == "call_function" and n.target != operator.getitem
115
116 def should_skip(self, n: torch.fx.Node):
117 return n.name in self.fp_node_id_set or n.target in self.fp_node_op_set

Callers 1

is_node_supportedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected