diff options
author | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-01-07 10:18:47 +0000 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-01-07 10:20:54 +0000 |
commit | 2c444fc7725f06e337be8008b88895851b447c61 (patch) | |
tree | ed693f72ab2880d43be77d2346c559e1ef526740 | |
parent | 361ccc845c46478dc426a3bb67542b3e3a69db11 (diff) | |
download | android-nn-driver-2c444fc7725f06e337be8008b88895851b447c61.tar.gz |
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
-rw-r--r-- | Utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ void SwizzleAndroidNn4dTensorToArmNn(const armnn::TensorShape& inTensorShape, co const auto inputData = static_cast<const T*>(input); const auto outputData = static_cast<T*>(output); - armnnUtils::Permute(armnnUtils::Permuted(inTensorShape, mappings), mappings, inputData, outputData); + armnnUtils::Permute(armnnUtils::Permuted(inTensorShape, mappings), mappings, inputData, outputData, sizeof(T)); } } // anonymous namespace |