aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2019-01-07 10:18:47 +0000
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-01-07 10:20:54 +0000
commit2c444fc7725f06e337be8008b88895851b447c61 (patch)
treeed693f72ab2880d43be77d2346c559e1ef526740
parent361ccc845c46478dc426a3bb67542b3e3a69db11 (diff)
downloadandroid-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.cpp2
1 files changed, 1 insertions, 1 deletions
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<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