aboutsummaryrefslogtreecommitdiff
path: root/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp
diff options
context:
space:
mode:
authorDavid Monahan <David.Monahan@arm.com>2021-11-01 10:16:37 +0000
committerDavid Monahan <david.monahan@arm.com>2021-11-01 16:32:24 +0000
commit2d9956162dd002a41f7fb4fa6753195d33524c7f (patch)
tree35b88472ff1bc5374c40365785c626cfb1ddec2c /tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp
parent6b9eba2f785093747f04af245da0cec7aca3931c (diff)
downloadarmnn-2d9956162dd002a41f7fb4fa6753195d33524c7f.tar.gz
IVGCVSW-6359 Added support for Float16 (Half) to Execute Network
* Allows the user to specify float16 as a datatype * Does not contain support for float16 on the TfLiteDelegate via ExecuteNetwork Signed-off-by: David Monahan <David.Monahan@arm.com> Change-Id: Icba56feedab32662e2cf671cc46ada899cf40c6c
Diffstat (limited to 'tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp')
-rw-r--r--tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp b/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp
index bc2868ab35..8cd5c5b310 100644
--- a/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp
+++ b/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp
@@ -36,6 +36,8 @@ struct TensorPrinter
void operator()(const std::vector<int8_t>& values);
+ void operator()(const std::vector<armnn::Half>& values);
+
private:
template<typename Container, typename Delegate>
void ForEachValue(const Container& c, Delegate delegate);