aboutsummaryrefslogtreecommitdiff
path: root/delegate/src/test/TestUtils.hpp
diff options
context:
space:
mode:
authorSadik Armagan <sadik.armagan@arm.com>2021-02-22 18:09:07 +0000
committerJim Flynn <jim.flynn@arm.com>2021-02-25 11:25:27 +0000
commit29b49cf1771620233f9c16dfa0214e6d8a64c4d7 (patch)
tree111ac8261a8ad97e01915d99fce80717facd1b3f /delegate/src/test/TestUtils.hpp
parent4018b21cd41437f1e1b2e528d5521136f39ff2b1 (diff)
downloadarmnn-29b49cf1771620233f9c16dfa0214e6d8a64c4d7.tar.gz
IVGCVSW-5401 Implement the FILL operator
* Added FILL operator to TfLite ArmNN Delegate * Added unit tests Signed-off-by: David Monahan <david.monahan@arm.com> Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I335ef469ff773fa4305eb87f6e93ae9c03fc6997
Diffstat (limited to 'delegate/src/test/TestUtils.hpp')
-rw-r--r--delegate/src/test/TestUtils.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/delegate/src/test/TestUtils.hpp b/delegate/src/test/TestUtils.hpp
index d14e1edb45..8a2756f4c5 100644
--- a/delegate/src/test/TestUtils.hpp
+++ b/delegate/src/test/TestUtils.hpp
@@ -51,6 +51,9 @@ void CompareData(uint8_t tensor1[], uint8_t tensor2[], size_t tensorSize);
/// Can be used to compare int16_t data coming from a tflite interpreter with a tolerance of 1
void CompareData(int16_t tensor1[], int16_t tensor2[], size_t tensorSize);
+/// Can be used to compare int32_t data coming from a tflite interpreter with a tolerance of 1
+void CompareData(int32_t tensor1[], int32_t tensor2[], size_t tensorSize);
+
/// Can be used to compare Half (Float16) data with a tolerance of limit_of_float*100
void CompareData(Half tensor1[], Half tensor2[], size_t tensorSize);