diff options
author | Matthew Haddon <matthew.haddon@arm.com> | 2021-10-07 17:19:20 +0100 |
---|---|---|
committer | Matthew Haddon <matthew.haddon@arm.com> | 2021-10-12 16:16:23 +0100 |
commit | b6b59e3870085870337a4ea1d6d051178cbd6730 (patch) | |
tree | 929e40e36267e553a3d4885bc7d2da6c3bdab799 /verif/tosa_error_if.py | |
parent | d6ce7251acf9bebb3ddba3b53ffa23935a5186b4 (diff) | |
download | reference_model-b6b59e3870085870337a4ea1d6d051178cbd6730.tar.gz |
Add negative testing for avg_pool2d, max_pool2d
* Negative tests for ERROR_IFs given in spec
* Constrict dimension size of latter ranks if
rank is larger than 4
Signed-off-by: Matthew Haddon <matthew.haddon@arm.com>
Change-Id: Iffea1874e876dba83c8a7c63049283bf7b3ba74b
Diffstat (limited to 'verif/tosa_error_if.py')
-rw-r--r-- | verif/tosa_error_if.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/verif/tosa_error_if.py b/verif/tosa_error_if.py index 8710885..2daeb9d 100644 --- a/verif/tosa_error_if.py +++ b/verif/tosa_error_if.py @@ -35,5 +35,10 @@ class ErrorIf(object): AxisSmallerZero = "AxisSmallerZero" AxisLargerRank = "AxisLargerRank" ShapeOfAxisNotOne = "ShapeOfAxisNotOne" + KernelSmallerOne = "KernelSmallerOne" + StrideSmallerOne = "StrideSmallerOne" + PadSmallerZero = "PadSmallerZero" + PadLargerEqualKernel = "PadLargerEqualKernel" + PoolingOutputShapeMismatch = "PoolingOutputShapeMismatch" |