aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/Descriptors.hpp
diff options
context:
space:
mode:
authorÉanna Ó Catháin <eanna.ocathain@arm.com>2018-11-12 11:36:34 +0000
committerLes Bell <les.bell@arm.com>2018-11-12 13:08:37 +0000
commit4e1e136cce3fca73ba49b570cfcb620f4ec574da (patch)
tree1fe9fcbb6a9dbafc12aa99ac543bc0da636a1cd1 /include/armnn/Descriptors.hpp
parentf97debb95cbc7e0bbc60e66e5463ede517cac61b (diff)
downloadarmnn-4e1e136cce3fca73ba49b570cfcb620f4ec574da.tar.gz
IVGCVSW-2054: BATCH_TO_SPACE_ND Reference implementation and Unit tests.
Change-Id: I13c6728dbb60643d0e086d171225c5d802987f92
Diffstat (limited to 'include/armnn/Descriptors.hpp')
-rw-r--r--include/armnn/Descriptors.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/armnn/Descriptors.hpp b/include/armnn/Descriptors.hpp
index 656afb1756..bda8cf7396 100644
--- a/include/armnn/Descriptors.hpp
+++ b/include/armnn/Descriptors.hpp
@@ -296,6 +296,25 @@ struct BatchNormalizationDescriptor
DataLayoutIndexed m_DataLayout;
};
+struct BatchToSpaceNdDescriptor
+{
+ BatchToSpaceNdDescriptor()
+ : m_BlockShape()
+ , m_Crops()
+ , m_DataLayout(DataLayout::NCHW)
+ {}
+
+ BatchToSpaceNdDescriptor(std::vector<unsigned int> blockShape, std::vector<std::vector<unsigned int>> crops)
+ : m_BlockShape(blockShape)
+ , m_Crops(crops)
+ , m_DataLayout(DataLayout::NCHW)
+ {}
+
+ std::vector<unsigned int> m_BlockShape;
+ std::vector<std::vector<unsigned int>> m_Crops;
+ DataLayoutIndexed m_DataLayout;
+};
+
struct FakeQuantizationDescriptor
{
FakeQuantizationDescriptor()