aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFrancis Murtagh <francis.murtagh@arm.com>2020-08-20 15:38:29 +0100
committerFrancis Murtagh <francis.murtagh@arm.com>2020-08-20 15:38:29 +0100
commit0fe7376f6982842e32591f3996d5ee650d22156f (patch)
tree9320b7cbe34de9532efd580b38e6a326584db5fa /include
parent09daef8e9d345cc5e95ee9c9a0ff21b1981da483 (diff)
downloadarmnn-0fe7376f6982842e32591f3996d5ee650d22156f.tar.gz
Bugfix: Allow permutation of QuantizationDim
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Change-Id: Ib98ec471e6fdd47600b7c62d0b4d19dd36e20cbd
Diffstat (limited to 'include')
-rw-r--r--include/armnnUtils/Permute.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/armnnUtils/Permute.hpp b/include/armnnUtils/Permute.hpp
index 4e9bfc0823..d719f4a623 100644
--- a/include/armnnUtils/Permute.hpp
+++ b/include/armnnUtils/Permute.hpp
@@ -11,9 +11,12 @@
namespace armnnUtils
{
-armnn::TensorShape Permuted(const armnn::TensorShape& srcShape, const armnn::PermutationVector& mappings);
+armnn::TensorShape Permuted(const armnn::TensorShape& srcShape,
+ const armnn::PermutationVector& mappings);
-armnn::TensorInfo Permuted(const armnn::TensorInfo& info, const armnn::PermutationVector& mappings);
+armnn::TensorInfo Permuted(const armnn::TensorInfo& info,
+ const armnn::PermutationVector& mappings,
+ bool perChannelPermute = false);
void Permute(const armnn::TensorShape& dstShape, const armnn::PermutationVector& mappings,
const void* src, void* dst, size_t dataTypeSize);