diff options
author | Nattapat Chaimanowong <nattapat.chaimanowong@arm.com> | 2018-11-02 10:57:25 +0000 |
---|---|---|
committer | nattapat.chaimanowong <nattapat.chaimanowong@arm.com> | 2018-11-02 12:35:59 +0000 |
commit | 207ef9a6b8b3ea0afe9a095639f67b5dedd095d7 (patch) | |
tree | fb6251cfbc28cc2bfdeb5f8f85cc994672e706eb /include/armnn/Descriptors.hpp | |
parent | 6b9658239d377372523fe49c71fde31701d986e3 (diff) | |
download | armnn-207ef9a6b8b3ea0afe9a095639f67b5dedd095d7.tar.gz |
IVGCVSW-2093 Add SpaceToBatchNd layer and corresponding no-op factory implementations
Change-Id: Ibd457f3a2d4342c4d6335bd3c471282a14ab6b14
Diffstat (limited to 'include/armnn/Descriptors.hpp')
-rw-r--r-- | include/armnn/Descriptors.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/armnn/Descriptors.hpp b/include/armnn/Descriptors.hpp index 5a7a647ee7..656afb1756 100644 --- a/include/armnn/Descriptors.hpp +++ b/include/armnn/Descriptors.hpp @@ -333,6 +333,24 @@ struct ReshapeDescriptor TensorShape m_TargetShape; }; +struct SpaceToBatchNdDescriptor +{ + SpaceToBatchNdDescriptor() + : m_DataLayout(DataLayout::NCHW) + {} + + SpaceToBatchNdDescriptor(const std::vector<unsigned int>& blockShape, + const std::vector<std::pair<unsigned int, unsigned int>>& padList) + : m_BlockShape(blockShape) + , m_PadList(padList) + , m_DataLayout(DataLayout::NCHW) + {} + + std::vector<unsigned int> m_BlockShape; + std::vector<std::pair<unsigned int, unsigned int>> m_PadList; + DataLayoutIndexed m_DataLayout; +}; + // temporary descriptor for Lstm struct LstmDescriptor { |