We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14cbf7f commit 124fc23Copy full SHA for 124fc23
backends/arm/passes/scalars_to_attribute_pass.py
@@ -28,7 +28,7 @@ class ScalarsToAttributePass(ExportPass):
28
torch.ops.aten.div.Tensor,
29
]
30
31
- def call(self, graph_module: GraphModule) -> GraphModule:
+ def call(self, graph_module: GraphModule) -> PassResult:
32
for n in graph_module.graph.nodes:
33
n = cast(Node, n)
34
if n.op != "call_function" or n.target not in self.targeted_ops:
0 commit comments