aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/test/test_tflite_supported_operators.py
diff options
context:
space:
mode:
Diffstat (limited to 'ethosu/vela/test/test_tflite_supported_operators.py')
-rw-r--r--ethosu/vela/test/test_tflite_supported_operators.py13
1 files changed, 12 insertions, 1 deletions
diff --git a/ethosu/vela/test/test_tflite_supported_operators.py b/ethosu/vela/test/test_tflite_supported_operators.py
index efe0d000..2713adf9 100644
--- a/ethosu/vela/test/test_tflite_supported_operators.py
+++ b/ethosu/vela/test/test_tflite_supported_operators.py
@@ -107,7 +107,18 @@ def test_constraint_conv_pass():
@pytest.mark.parametrize(
"stride_w, stride_h, supported",
- [[0, 20, False], [4, 4, True], [4, 5, False], [5, 4, False], [3, 3, True], [1, 1, True], [2, 4, True]],
+ [
+ [0, 20, False],
+ [4, 1, True],
+ [4, 2, True],
+ [2, 2, True],
+ [4, 4, False],
+ [4, 5, False],
+ [5, 4, False],
+ [3, 3, True],
+ [1, 1, True],
+ [2, 4, False],
+ ],
)
def test_constraint_stride_range(stride_w: int, stride_h: int, supported: bool):
# Stride width and height must lie within a certain range