Skip to content

Commit 124fc23

Browse files
authored
Correct type hint
1 parent 14cbf7f commit 124fc23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/arm/passes/scalars_to_attribute_pass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class ScalarsToAttributePass(ExportPass):
2828
torch.ops.aten.div.Tensor,
2929
]
3030

31-
def call(self, graph_module: GraphModule) -> GraphModule:
31+
def call(self, graph_module: GraphModule) -> PassResult:
3232
for n in graph_module.graph.nodes:
3333
n = cast(Node, n)
3434
if n.op != "call_function" or n.target not in self.targeted_ops:

0 commit comments

Comments
 (0)