Skip to content

Commit 5bd637d

Browse files
committed
Move lhs_axis and rhs_axis
1 parent b6d09ea commit 5bd637d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/python/contrib/test_arm_compute_lib/test_add.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@
3838
"rhs_zero_point": relay.const(85, "int32"),
3939
"output_scale": relay.const(0.0235294, "float32"),
4040
"output_zero_point": relay.const(128, "int32"),
41-
"lhs_axis": int(-1),
42-
"rhs_axis": int(-1),
4341
}
4442

4543

@@ -76,6 +74,10 @@ def _get_expected_codegen(shape, dtype, op_name, qnn_params):
7674
},
7775
}
7876

77+
if qnn_params:
78+
node["lhs_axis"] = [[-1]]
79+
node["rhs_axis"] = [[-1]]
80+
7981
return [*inputs, node]
8082

8183

0 commit comments

Comments
 (0)