From 2c444fc7725f06e337be8008b88895851b447c61 Mon Sep 17 00:00:00 2001 From: Matteo Martincigh Date: Mon, 7 Jan 2019 10:18:47 +0000 Subject: IVGCVSW-2421 Remove the template-based version of armnnUtils::Permute in favor of a type-indepent implementation that takes void-pointers * Updated the code to make use of the new version of Permute !armnn:468 Change-Id: I10a5f353ee87822f161a968bb04d18af037fd103 --- Utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utils.cpp b/Utils.cpp index 7b5d9d3f..cd9e1b40 100644 --- a/Utils.cpp +++ b/Utils.cpp @@ -30,7 +30,7 @@ void SwizzleAndroidNn4dTensorToArmNn(const armnn::TensorShape& inTensorShape, co const auto inputData = static_cast(input); const auto outputData = static_cast(output); - armnnUtils::Permute(armnnUtils::Permuted(inTensorShape, mappings), mappings, inputData, outputData); + armnnUtils::Permute(armnnUtils::Permuted(inTensorShape, mappings), mappings, inputData, outputData, sizeof(T)); } } // anonymous namespace -- cgit v1.2.1