From 90251bc1e162925c4b85e8a2923af153af23da93 Mon Sep 17 00:00:00 2001 From: Sang-Hoon Park Date: Thu, 20 Aug 2020 13:57:49 +0100 Subject: COMPMID-3749: Adjust FP32 tolerance for NEScale validation To prevent unexpected failures caused by some cases, the bigger tolerance value is used, which is matched to CL's relative tolerance value. Change-Id: If6e3bc2f30651c54769dcd8dd647a3233a88c488 Signed-off-by: Sang-Hoon Park Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3826 Tested-by: Arm Jenkins Reviewed-by: Pablo Marquez Comments-Addressed: Arm Jenkins --- tests/validation/NEON/Scale.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/validation/NEON') diff --git a/tests/validation/NEON/Scale.cpp b/tests/validation/NEON/Scale.cpp index 9d9a2821dc..1b59faaf07 100644 --- a/tests/validation/NEON/Scale.cpp +++ b/tests/validation/NEON/Scale.cpp @@ -79,7 +79,7 @@ const auto QuantizationInfoSet = framework::dataset::make("QuantizationInfo", /** Tolerance */ constexpr AbsoluteTolerance tolerance_u8(1); constexpr AbsoluteTolerance tolerance_s16(1); -RelativeTolerance tolerance_f32(0.01); +RelativeTolerance tolerance_f32(0.05); #ifdef __ARM_FEATURE_FP16_VECTOR_ARITHMETIC RelativeTolerance tolerance_f16(half(0.1)); #endif /* __ARM_FEATURE_FP16_VECTOR_ARITHMETIC */ -- cgit v1.2.1