From 63e6aceb34313a7077a5aff6074ff2c29f8d2a94 Mon Sep 17 00:00:00 2001 From: Finn Williams Date: Wed, 17 Feb 2021 18:12:39 +0000 Subject: 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 Change-Id: Id8104d6feda19ed3f5f0cb018d719b1677772d9b --- delegate/src/test/TestUtils.hpp | 3 +++ 1 file changed, 3 insertions(+) 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& interpreter, int inputIndex } } +template <> +void FillInput(std::unique_ptr& interpreter, int inputIndex, std::vector& 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 -- cgit v1.2.1