diff options
author | Johan Alfvén <johan.alfven@arm.com> | 2022-12-07 13:56:17 +0100 |
---|---|---|
committer | Johan Alfvén <johan.alfven@arm.com> | 2022-12-09 14:00:21 +0100 |
commit | faa4b7861317385ecd2357b7af9b90c6a5fbdd08 (patch) | |
tree | a7a6f98e8e17762a6a1b8f13358c71966d22cc05 /ethosu/vela/test | |
parent | 92689d5ad0dd19a3249e71dd0563731d4c6527c8 (diff) | |
download | ethos-u-vela-faa4b7861317385ecd2357b7af9b90c6a5fbdd08.tar.gz |
MLBEDSW-7072: Added bias shape constraint
- Only 1D bias shape is supported
- Modified test to reflect the constraint
- Update SUPPORTED_OPS.md
Signed-off-by: Johan Alfven <johan.alfven@arm.com>
Change-Id: I00ae4b229d5f89512cb94f87f276af61cc66a6fd
Diffstat (limited to 'ethosu/vela/test')
-rw-r--r-- | ethosu/vela/test/test_tflite_supported_operators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/vela/test/test_tflite_supported_operators.py b/ethosu/vela/test/test_tflite_supported_operators.py index d9b241fd..d091531d 100644 --- a/ethosu/vela/test/test_tflite_supported_operators.py +++ b/ethosu/vela/test/test_tflite_supported_operators.py @@ -62,7 +62,7 @@ def test_constraint_tens_quant_per_axis_not_supp(): def test_constraint_tens_quant_per_axis_is_supp(): op = testutil.create_op_with_quant_tensors( - Op.Conv2DBias, [1, 1, 1, 3], [1, 1, 1, 3], weights_shape=[1, 1, 1, 3], bias_shape=[1, 1, 1, 3] + Op.Conv2DBias, [1, 1, 1, 3], [1, 1, 1, 3], weights_shape=[1, 1, 1, 3], bias_shape=[3] ) op.attrs = {"stride_w": 1, "stride_h": 1} assert support.is_operator_supported(op) |