diff options
author | Jan Eilers <jan.eilers@arm.com> | 2020-11-17 20:18:56 +0000 |
---|---|---|
committer | Francis Murtagh <francis.murtagh@arm.com> | 2020-11-18 11:48:57 +0000 |
commit | 06d2d1b2012389a22688e070dadb9639f80fbec8 (patch) | |
tree | 33b50a9c84ff3e79a73e767617f063ce89936f0d | |
parent | 15f7faef88357679064e0e9d3bd91dd18c7625d6 (diff) | |
download | armnn-06d2d1b2012389a22688e070dadb9639f80fbec8.tar.gz |
IVGCVSW-5547 Fix Delegate Softmax failures on CpuAcc/GpuAcc
* Changed percentage tolerance to 0.1%
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I3e2294941a29a5f973e3023cb70735562bad4521
-rw-r--r-- | delegate/src/test/SoftmaxTestHelper.hpp | 4 |
1 files 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)); } } |