From a71c0633eff4791eb98362f72f198a2d1ec3d8f9 Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Mon, 12 Apr 2021 13:12:19 +0100 Subject: IVGCVSW-5826 Remove cross-wireing in depthwise * The permutation of the tensor info is now completely handled in the armnnUtils::Permuted function. That includes quantization informations too !armnn:5411 Signed-off-by: Jan Eilers Change-Id: I40410141303d950be7888f9e491133251b6f69d8 --- ConversionUtils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ConversionUtils.cpp') diff --git a/ConversionUtils.cpp b/ConversionUtils.cpp index 9cc6e286..4cea7276 100644 --- a/ConversionUtils.cpp +++ b/ConversionUtils.cpp @@ -56,7 +56,7 @@ ConstTensorPin::ConstTensorPin(bool optional) : m_Optional(optional) {} -ConstTensorPin::ConstTensorPin(const armnn::TensorInfo& tensorInfo, +ConstTensorPin::ConstTensorPin(armnn::TensorInfo& tensorInfo, const void* valueStart, uint32_t numBytes, const armnn::PermutationVector& mappings) @@ -73,7 +73,7 @@ ConstTensorPin::ConstTensorPin(const armnn::TensorInfo& tensorInfo, m_SwizzledTensorData.resize(tensorInfo.GetNumBytes()); SwizzleAndroidNn4dTensorToArmNn(tensorInfo, valueStart, m_SwizzledTensorData.data(), mappings); - m_ConstTensor = armnn::ConstTensor(armnnUtils::Permuted(tensorInfo, mappings), m_SwizzledTensorData.data()); + m_ConstTensor = armnn::ConstTensor(tensorInfo, m_SwizzledTensorData.data()); } else { -- cgit v1.2.1