aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2021-07-14 16:01:44 +0100
committerGeorgios Pinitas <georgios.pinitas@arm.com>2021-07-14 16:44:25 +0000
commite5d76e1574103de405df625e48e5294ea106060c (patch)
treeb7bfcc461a4bb3ad5367b724a62b316345cd0d4a
parentc38ca38c85adba12d6a62c30bf5ac570637dc171 (diff)
downloadComputeLibrary-e5d76e1574103de405df625e48e5294ea106060c.tar.gz
Increase tolerance for NEMeanStdDevNormalization
A reduction step is performed with 2x2 reduction vectors for fp32 that can lead to different results. Increasing the tolerance to accommodate. Resolves: COMPMID-4644 Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Change-Id: I53380bbd64e18efdaace9d0e96bb35cbfcea8f04 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5947 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
-rw-r--r--tests/validation/NEON/MeanStdDevNormalizationLayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/validation/NEON/MeanStdDevNormalizationLayer.cpp b/tests/validation/NEON/MeanStdDevNormalizationLayer.cpp
index 90d3d05a0d..dee8f78da9 100644
--- a/tests/validation/NEON/MeanStdDevNormalizationLayer.cpp
+++ b/tests/validation/NEON/MeanStdDevNormalizationLayer.cpp
@@ -47,7 +47,7 @@ namespace
#ifdef __ARM_FEATURE_FP16_VECTOR_ARITHMETIC
RelativeTolerance<half> tolerance_f16(half(0.2f));
#endif /* __ARM_FEATURE_FP16_VECTOR_ARITHMETIC */
-RelativeTolerance<float> tolerance_f32(1e-8f);
+RelativeTolerance<float> tolerance_f32(1e-4f);
} // namespace
TEST_SUITE(NEON)