aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFinn Williams <Finn.Williams@arm.com>2021-02-17 18:12:39 +0000
committerKeith Davis <keith.davis@arm.com>2021-02-18 12:38:51 +0000
commit0d61a147b6c2f83f4999bfd52ccea1301894240e (patch)
tree67e89c9bcf32e7ad7578314c95d7faa185bf1cbc
parent8234da468e9739a5bd147fa3fb762318c62fcce6 (diff)
downloadarmnn-0d61a147b6c2f83f4999bfd52ccea1301894240e.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
-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 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