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/reference/workloads/BatchNormImpl.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/reference/workloads/BatchNormImpl.hpp')
-rw-r--r-- | src/backends/reference/workloads/BatchNormImpl.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backends/reference/workloads/BatchNormImpl.hpp b/src/backends/reference/workloads/BatchNormImpl.hpp index fbcb2fdf5a..799e7a327b 100644 --- a/src/backends/reference/workloads/BatchNormImpl.hpp +++ b/src/backends/reference/workloads/BatchNormImpl.hpp @@ -10,6 +10,8 @@ #include <armnn/Tensor.hpp> +#include <DataLayoutIndexed.hpp> + #include <cmath> namespace armnn @@ -34,7 +36,7 @@ static void BatchNormImpl(NormData data, outputData, data.m_Parameters.m_DataLayout); - DataLayoutIndexed dataLayout(data.m_Parameters.m_DataLayout); + armnnUtils::DataLayoutIndexed dataLayout(data.m_Parameters.m_DataLayout); for (unsigned int c = 0; c < inputInfo.GetShape()[dataLayout.GetChannelsIndex()]; c++) { |