From f9afc791662f9ffd639a9500de8c4e33394c8c39 Mon Sep 17 00:00:00 2001 From: Matteo Martincigh Date: Thu, 6 Dec 2018 12:03:17 +0000 Subject: IVGCVSW-2268 Remove the input swizzling from ParseConcat * Removed the input swizzling when the concatenation dimension is 3 in ParseConcat in the TF parser * No longer using the helper ProcessConcatInputTensorInfo, where the input was being swizzled if the concatenation dimension was 3 * Added a new convenience constuctor to TensorShape that initializes a shape to all zeros given only the number of dimensions Change-Id: I82a207e41bddc5fea21a0b5a38eafa24ad75d1c2 --- include/armnn/Tensor.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/armnn/Tensor.hpp b/include/armnn/Tensor.hpp index e69d1a956c..f4d7f9f984 100644 --- a/include/armnn/Tensor.hpp +++ b/include/armnn/Tensor.hpp @@ -21,6 +21,8 @@ public: /// Empty (invalid) constructor. TensorShape(); + TensorShape(unsigned int numDimensions); + TensorShape(unsigned int numDimensions, const unsigned int* dimensionSizes); TensorShape(std::initializer_list dimensionSizeList); -- cgit v1.2.1