diff options
author | Finn Williams <Finn.Williams@arm.com> | 2021-02-17 18:12:39 +0000 |
---|---|---|
committer | Finn Williams <Finn.Williams@arm.com> | 2021-02-17 18:15:12 +0000 |
commit | 63e6aceb34313a7077a5aff6074ff2c29f8d2a94 (patch) | |
tree | 54a2221cdcae3d57d2ce52fe5dc2e06e4f219689 /delegate/src/test/TestUtils.hpp | |
parent | a657071a6c95854bf33d59ecfc736aa7d8ab85fc (diff) | |
download | armnn-63e6aceb34313a7077a5aff6074ff2c29f8d2a94.tar.gz |
IVGCVSW-5654 Fix failing float 16 delegate tests on android
* add template specialization declaration to header to resolve clang issue
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: Id8104d6feda19ed3f5f0cb018d719b1677772d9b
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 ad7600d27e..d14e1edb45 100644 --- a/delegate/src/test/TestUtils.hpp +++ b/delegate/src/test/TestUtils.hpp @@ -30,6 +30,9 @@ void FillInput(std::unique_ptr<tflite::Interpreter>& interpreter, int inputIndex } } +template <> +void FillInput(std::unique_ptr<tflite::Interpreter>& interpreter, int inputIndex, std::vector<Half>& inputValues); + /// Can be used to compare bool data coming from a tflite interpreter /// Boolean types get converted to a bit representation in a vector. vector.data() returns a void pointer /// instead of a pointer to bool. Therefore a special function to compare to vector of bool is required |