From 0506ef0a099f5ba564af5e110e6857a68f462080 Mon Sep 17 00:00:00 2001 From: Mike Kelly Date: Tue, 3 Jan 2023 16:29:44 +0000 Subject: GitHub #543 Problem Parsing Mixed-Precision Model * Fixed bug when converting Constants with Per-Axis Quantization Signed-off-by: Mike Kelly Change-Id: Ifbea23e60483746ec987da491dae96e74cb33af4 --- include/armnnUtils/TensorUtils.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/armnnUtils/TensorUtils.hpp b/include/armnnUtils/TensorUtils.hpp index f7f20bd065..2d6ec2fea4 100644 --- a/include/armnnUtils/TensorUtils.hpp +++ b/include/armnnUtils/TensorUtils.hpp @@ -55,4 +55,9 @@ unsigned int GetNumElementsAfter(const armnn::TensorShape& shape, unsigned int a std::pair> GetPerAxisParams(const armnn::TensorInfo& info); +template +std::unique_ptr ToFloatArray(const std::vector& data, const armnn::TensorInfo& tensorInfo); + +std::unique_ptr ToFloatArray(const std::vector& data, const armnn::TensorInfo& tensorInfo); + } // namespace armnnUtils -- cgit v1.2.1