Skip to content

Commit fc97a9b

Browse files
committed
Update to fix linting error
Change-Id: I269a9d1dd789bd866eaa46b641fee47ba231b8fc
1 parent baa2691 commit fc97a9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/arm/tosa_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def is_consumer_node_depthwise_conv2d(node: Node):
168168
return False
169169

170170

171-
def tosa_shape(shape: tuple[int | torch.SymInt], dim_order):
171+
def tosa_shape(shape, dim_order):
172172
reordered = tuple([shape[dim] for dim in dim_order])
173173
# Dynamic shapes in executorch are represented with torch.SymInt objects in the shapes,
174174
# in TOSA we do not have this concept and instead use -1.

0 commit comments

Comments
 (0)