diff options
author | Matteo Martincigh <matteo.martincigh@arm.com> | 2018-11-28 16:22:22 +0000 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2018-12-05 11:03:35 +0000 |
commit | 2135015779092e259ad5d5df185eda0c34b56359 (patch) | |
tree | 744a46d8f6036ac13fc40ab5001ad2ad05fb4525 /src/backends/backendsCommon/test/Pooling2dTestImpl.hpp | |
parent | 24df822711e14cd3099a926272d863ed139ed4d7 (diff) | |
download | armnn-2135015779092e259ad5d5df185eda0c34b56359.tar.gz |
IVGCVSW-2264 Move DataLayoutIndexed to armnnUtils
* Since DataLayoutIndexed is now required in the TF parser, this
changes move it to the armnnUtils library so that it'll be
accessible by the armnnTfParser
* Modified CMake files and Android.mk files accordingly
Change-Id: Ie2620359ef288aeff64cb9e9bec068a466eee0e9
Diffstat (limited to 'src/backends/backendsCommon/test/Pooling2dTestImpl.hpp')
-rw-r--r-- | src/backends/backendsCommon/test/Pooling2dTestImpl.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backends/backendsCommon/test/Pooling2dTestImpl.hpp b/src/backends/backendsCommon/test/Pooling2dTestImpl.hpp index 0f33ac01a5..f5e3386fed 100644 --- a/src/backends/backendsCommon/test/Pooling2dTestImpl.hpp +++ b/src/backends/backendsCommon/test/Pooling2dTestImpl.hpp @@ -20,6 +20,8 @@ #include <test/TensorHelpers.hpp> +#include <DataLayoutIndexed.hpp> + #include <boost/numeric/conversion/cast.hpp> #include <algorithm> @@ -36,7 +38,7 @@ LayerTestResult<T, 4> SimplePooling2dTestImpl( const boost::multi_array<T, 4>& outputExpected) { const armnn::DataLayout dataLayout = descriptor.m_DataLayout; - const armnn::DataLayoutIndexed dimensionIndices = dataLayout; + const armnnUtils::DataLayoutIndexed dimensionIndices = dataLayout; auto heightIndex = dimensionIndices.GetHeightIndex(); auto widthIndex = dimensionIndices.GetWidthIndex(); auto channelsIndex = dimensionIndices.GetChannelsIndex(); |