From 7612bd6cc385dfbf54f831a6349f3a9363c6d0a2 Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Tue, 6 Apr 2021 17:29:03 +0100 Subject: IVGCVSW-5842 Remove cross-wiring in depthwise * Reading tensor infos won't allow a permutation vector anymore. The permutation only changed the quantization dimension not the shape and was therefore misleading * The permutation of the full tensor info is now performed in armnnUtils::Permuted * Changed TfLite Parser depthwise parsing function * Added unit tests to TfLite Parser with more random data * Changed TfLite Delegate depthwise parsing function * Added unit test to the delegate with per channel quantization !android-nn-driver:5412 Signed-off-by: Jan Eilers Change-Id: I1f985ee69547bcaf16a72201e00a6b6fe1ef9a97 --- include/armnnUtils/Permute.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/armnnUtils') diff --git a/include/armnnUtils/Permute.hpp b/include/armnnUtils/Permute.hpp index d719f4a623..1e4166d938 100644 --- a/include/armnnUtils/Permute.hpp +++ b/include/armnnUtils/Permute.hpp @@ -15,8 +15,7 @@ armnn::TensorShape Permuted(const armnn::TensorShape& srcShape, const armnn::PermutationVector& mappings); armnn::TensorInfo Permuted(const armnn::TensorInfo& info, - const armnn::PermutationVector& mappings, - bool perChannelPermute = false); + const armnn::PermutationVector& mappings); void Permute(const armnn::TensorShape& dstShape, const armnn::PermutationVector& mappings, const void* src, void* dst, size_t dataTypeSize); -- cgit v1.2.1