diff options
author | Eric Kunze <eric.kunze@arm.com> | 2022-08-30 05:54:36 +0000 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-08-30 12:42:29 +0100 |
commit | d4fe4bfa218f795bddd3ea5b872de9e750970981 (patch) | |
tree | 1918a5f145a9f067b53dbfd51e4b0923b1a695c7 | |
parent | 5a76b2a81ee1f62dede1f6549ab3f7924338a9eb (diff) | |
download | reference_model-d4fe4bfa218f795bddd3ea5b872de9e750970981.tar.gz |
Update RESCALE testing to match no rank restrictions
Matches changes to the specification loosening the rank requirements for
the RESCALE operation.
Includes removing wrong rank testing for RESCALE, and increasing
conformance testing to rank 5
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I4e15d4bd8f448e1ec81d9a8bbcd231c286b64a30
-rw-r--r-- | verif/conformance/tosa_base_profile_ops_info.json | 4 | ||||
-rw-r--r-- | verif/generator/tosa_test_gen.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/verif/conformance/tosa_base_profile_ops_info.json b/verif/conformance/tosa_base_profile_ops_info.json index d05b881..2af4c47 100644 --- a/verif/conformance/tosa_base_profile_ops_info.json +++ b/verif/conformance/tosa_base_profile_ops_info.json @@ -1901,7 +1901,9 @@ "--tensor-dim-range", "1,16", "--target-rank", - "4" + "4", + "--target-rank", + "5" ], [ "--target-shape", diff --git a/verif/generator/tosa_test_gen.py b/verif/generator/tosa_test_gen.py index ce3f81f..56a34e5 100644 --- a/verif/generator/tosa_test_gen.py +++ b/verif/generator/tosa_test_gen.py @@ -3653,7 +3653,6 @@ class TosaTestGen: "rescale": { "op": Op.RESCALE, "operands": (1, 0), - "rank": (1, 4), "build_fcn": ( build_rescale, TosaTensorGen.tgBasic, @@ -3677,7 +3676,6 @@ class TosaTestGen: TosaErrorValidator.evScaleNotTrue, TosaErrorValidator.evWrongInputType, TosaErrorValidator.evWrongOutputType, - TosaErrorValidator.evWrongRank, TosaErrorValidator.evWrongInputList, TosaErrorValidator.evWrongOutputList, ), |