Skip to content

Commit fd092a9

Browse files
committed
Add TOSA version string to max_pool tests.
Signed-off-by: Per Åstrand <[email protected]> Change-Id: I14ce1d9f53396d3ff49536875f24dabd24a71c10
1 parent 57dc1f9 commit fd092a9

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

backends/arm/test/misc/test_debug_feats.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ def test_numerical_diff_prints(self):
108108
model,
109109
example_inputs=model.get_inputs(),
110110
compile_spec=common.get_tosa_compile_spec(
111-
"TOSA-0.80.0+MI", permute_memory_to_nhwc=True,
111+
"TOSA-0.80.0+MI",
112+
permute_memory_to_nhwc=True,
112113
custom_path=tempfile.mkdtemp("diff_print_test"),
113114
),
114115
)

backends/arm/test/ops/test_max_pool.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ def _test_maxpool2d_tosa_MI_pipeline(
6262
ArmTester(
6363
module,
6464
example_inputs=test_data,
65-
compile_spec=common.get_tosa_compile_spec(permute_memory_to_nhwc=True),
65+
compile_spec=common.get_tosa_compile_spec(
66+
"TOSA-0.80.0+MI", permute_memory_to_nhwc=True
67+
),
6668
)
6769
.export()
6870
.check(["torch.ops.aten.max_pool2d.default"])
@@ -87,7 +89,9 @@ def _test_maxpool2d_tosa_BI_pipeline(
8789
ArmTester(
8890
module,
8991
example_inputs=test_data,
90-
compile_spec=common.get_tosa_compile_spec(permute_memory_to_nhwc=True),
92+
compile_spec=common.get_tosa_compile_spec(
93+
"TOSA-0.80.0+BI", permute_memory_to_nhwc=True
94+
),
9195
)
9296
.quantize(Quantize(quantizer, get_symmetric_quantization_config()))
9397
.export()

0 commit comments

Comments
 (0)