From 1c948d47f55ff8a39aa527f63ea7df93a13dd38e Mon Sep 17 00:00:00 2001 From: Michele Di Giorgio Date: Tue, 20 Nov 2018 16:03:01 +0000 Subject: COMPMID-1800: (Nightly) Mismatches in SC9863 board for NEON FP16 Fixes for: - ReduceMean, reduction on the X axis for FP16 with 8 elements was performed only up to a certain point. The fix now takes into account the number of elements of the vector and does as many reductions as necessary. - YOLOLayer, activation for FP16 has to be performed on 32 bits until the FP16 approximations is fixed. Change-Id: I75373f4edd37de476e6fe1a56de3ef386b65c619 --- tests/validation/NEON/YOLOLayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/validation/NEON/YOLOLayer.cpp') diff --git a/tests/validation/NEON/YOLOLayer.cpp b/tests/validation/NEON/YOLOLayer.cpp index 926a2dad86..6225dc170e 100644 --- a/tests/validation/NEON/YOLOLayer.cpp +++ b/tests/validation/NEON/YOLOLayer.cpp @@ -46,7 +46,7 @@ namespace /** Tolerance */ constexpr AbsoluteTolerance tolerance_f32(1e-6f); #ifdef __ARM_FEATURE_FP16_VECTOR_ARITHMETIC -constexpr RelativeTolerance tolerance_f16(0.001f); +constexpr RelativeTolerance tolerance_f16(0.01f); #endif /* __ARM_FEATURE_FP16_VECTOR_ARITHMETIC */ /** Floating point data sets. */ -- cgit v1.2.1