diff options
author | Narumol Prangnawarat <narumol.prangnawarat@arm.com> | 2021-08-12 14:48:15 +0100 |
---|---|---|
committer | Narumol Prangnawarat <narumol.prangnawarat@arm.com> | 2021-08-31 14:13:48 +0000 |
commit | 7684b18e8fec45355a49e7f7165c582efc553ab6 (patch) | |
tree | f79078cec5e14534b82effaa6f8c4b70c3fe6bff /delegate/src/test/TestUtils.hpp | |
parent | b338fb08cc77892f9cc19132421db06d77f9afde (diff) | |
download | armnn-7684b18e8fec45355a49e7f7165c582efc553ab6.tar.gz |
MLCE-530 Add support for UnidirectionalSequenceLstm to armnn delegate
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: Ib04f8d6b9e60a4204c56eba4c2ecd2b316509dcc
Diffstat (limited to 'delegate/src/test/TestUtils.hpp')
-rw-r--r-- | delegate/src/test/TestUtils.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/delegate/src/test/TestUtils.hpp b/delegate/src/test/TestUtils.hpp index 8a2756f4c5..5d4a0ed7d4 100644 --- a/delegate/src/test/TestUtils.hpp +++ b/delegate/src/test/TestUtils.hpp @@ -42,6 +42,9 @@ void CompareData(bool tensor1[], bool tensor2[], size_t tensorSize); /// Can be used to compare float data coming from a tflite interpreter with a tolerance of limit_of_float*100 void CompareData(float tensor1[], float tensor2[], size_t tensorSize); +/// Can be used to compare float data coming from a tflite interpreter with a given percentage tolerance +void CompareData(float tensor1[], float tensor2[], size_t tensorSize, float percentTolerance); + /// Can be used to compare int8_t data coming from a tflite interpreter with a tolerance of 1 void CompareData(int8_t tensor1[], int8_t tensor2[], size_t tensorSize); |