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/TensorBufferArrayView.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/TensorBufferArrayView.hpp')
-rw-r--r-- | src/backends/reference/workloads/TensorBufferArrayView.hpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/backends/reference/workloads/TensorBufferArrayView.hpp b/src/backends/reference/workloads/TensorBufferArrayView.hpp index 5593ba6a5e..aecec6757a 100644 --- a/src/backends/reference/workloads/TensorBufferArrayView.hpp +++ b/src/backends/reference/workloads/TensorBufferArrayView.hpp @@ -7,10 +7,10 @@ #include <armnn/Tensor.hpp> -#include <backendsCommon/DataLayoutIndexed.hpp> - #include <boost/assert.hpp> +#include <DataLayoutIndexed.hpp> + namespace armnn { @@ -19,7 +19,8 @@ template <typename DataType> class TensorBufferArrayView { public: - TensorBufferArrayView(const TensorShape& shape, DataType* data, DataLayoutIndexed dataLayout = DataLayout::NCHW) + TensorBufferArrayView(const TensorShape& shape, DataType* data, + armnnUtils::DataLayoutIndexed dataLayout = DataLayout::NCHW) : m_Shape(shape) , m_Data(data) , m_DataLayout(dataLayout) @@ -60,9 +61,9 @@ public: } private: - const TensorShape m_Shape; - DataType* m_Data; - DataLayoutIndexed m_DataLayout; + const TensorShape m_Shape; + DataType* m_Data; + armnnUtils::DataLayoutIndexed m_DataLayout; }; } //namespace armnn |