Skip to content

Commit e68ae7b

Browse files
GregoryComerYIWENX14
authored andcommitted
Fix pyre failure in ARM tests (#7979)
Summary: Fix a pyre failure by ignoring it. Looking at the source, it's not trivial to fix this typecheck due to the way kwargs work, so I'm just going to add an ignore. Differential Revision: D68737338
1 parent f50c6aa commit e68ae7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backends/arm/operator_support/to_copy_support.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ def is_node_supported(self, node: fx.Node, tosa_spec: TosaSpecification) -> bool
125125
# Check dim_order (to_dim_order_copy)
126126
if "dim_order" in node.kwargs:
127127
dim_order = node.kwargs["dim_order"]
128+
# pyre-ignore[6]
128129
if dim_order != list(range(len(dim_order))):
129130
logger.info(
130131
f"Argument {dim_order=} is not supported for "

0 commit comments

Comments
 (0)