aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/test
diff options
context:
space:
mode:
authorTim Hall <tim.hall@arm.com>2022-11-11 18:19:53 +0000
committerTim Hall <tim.hall@arm.com>2022-11-15 17:52:08 +0000
commitea4ba666c035827aabe9a807503c185a6a9d3f0f (patch)
treedcfe7fb07e7c02fd011904d46e371108883101ff /ethosu/vela/test
parent16da6abddb1d791b4068b1d088beb3c5589fa722 (diff)
downloadethos-u-vela-ea4ba666c035827aabe9a807503c185a6a9d3f0f.tar.gz
MLBEDSW-6905: Add dilation greater than 2 support
- Added graph optimisation pass to support dilations greater than 2 in either dimension - Removed supported operators restrictions - Removed erroneous dilation on TRANSPOSE_CONV - Updated unit tests and documentation Signed-off-by: Tim Hall <tim.hall@arm.com> Change-Id: Ide302374b0d5eff25c20501383a63f6aa7625c52
Diffstat (limited to 'ethosu/vela/test')
-rw-r--r--ethosu/vela/test/test_tflite_supported_operators.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/ethosu/vela/test/test_tflite_supported_operators.py b/ethosu/vela/test/test_tflite_supported_operators.py
index 4410938e..6468d3de 100644
--- a/ethosu/vela/test/test_tflite_supported_operators.py
+++ b/ethosu/vela/test/test_tflite_supported_operators.py
@@ -111,13 +111,6 @@ def test_constraint_stride_range():
assert not support.is_operator_supported(op)
-def test_constraint_dilation_range():
- # Dilation width and height must lie within a certain range
- op = testutil.create_op_with_quant_tensors(Op.Conv2DBias, [1, 8, 8, 8], [1, 8, 8, 8])
- op.attrs = {"stride_w": 1, "stride_h": 1, "dilation_w_factor": 0, "dilation_h_factor": 20}
- assert not support.is_operator_supported(op)
-
-
def test_constraint_dilated_height_range():
# Dilated kernel height must lie within a certain range
op = testutil.create_op_with_quant_tensors(Op.Conv2DBias, [1, 8, 8, 8], [1, 8, 8, 8], weights_shape=[65, 64, 1, 1])