From 06d2d1b2012389a22688e070dadb9639f80fbec8 Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Tue, 17 Nov 2020 20:18:56 +0000 Subject: IVGCVSW-5547 Fix Delegate Softmax failures on CpuAcc/GpuAcc * Changed percentage tolerance to 0.1% Signed-off-by: Jan Eilers Change-Id: I3e2294941a29a5f973e3023cb70735562bad4521 --- delegate/src/test/SoftmaxTestHelper.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/delegate/src/test/SoftmaxTestHelper.hpp b/delegate/src/test/SoftmaxTestHelper.hpp index 0474561a93..b3086bb0cb 100644 --- a/delegate/src/test/SoftmaxTestHelper.hpp +++ b/delegate/src/test/SoftmaxTestHelper.hpp @@ -161,9 +161,9 @@ void SoftmaxTest(tflite::BuiltinOperator softmaxOperatorCode, for (size_t i = 0; i < inputValues.size(); ++i) { - CHECK(armnnUtils::within_percentage_tolerance(expectedOutputValues[i], armnnDelegateOutputData[i], 1e-5)); + CHECK(armnnUtils::within_percentage_tolerance(expectedOutputValues[i], armnnDelegateOutputData[i], 0.1)); CHECK(armnnUtils::within_percentage_tolerance(tfLiteInterpreterOutputData[i], - armnnDelegateOutputData[i], 1e-5)); + armnnDelegateOutputData[i], 0.1)); } } -- cgit v1.2.1