diff options
author | Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> | 2019-06-11 14:14:03 +0100 |
---|---|---|
committer | Áron Virginás-Tar <aron.virginas-tar@arm.com> | 2019-06-12 08:53:33 +0000 |
commit | 972af1568372f243f241b58fa07f0d3a7f991d1e (patch) | |
tree | 7f00157cc66bef8ced30a8e0a0f5e5305a82111f /include/armnn/Descriptors.hpp | |
parent | e9e1878cb94e45ba71303a8ceda5bc523997fde4 (diff) | |
download | armnn-972af1568372f243f241b58fa07f0d3a7f991d1e.tar.gz |
IVGCVSW-3258 Add front end support for new SpaceToDepth layer
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
Change-Id: Id677e29a734f2b36483d939ad370079bdc11551e
Diffstat (limited to 'include/armnn/Descriptors.hpp')
-rw-r--r-- | include/armnn/Descriptors.hpp | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/include/armnn/Descriptors.hpp b/include/armnn/Descriptors.hpp index 25bf818987..9479db3571 100644 --- a/include/armnn/Descriptors.hpp +++ b/include/armnn/Descriptors.hpp @@ -540,6 +540,20 @@ struct SpaceToBatchNdDescriptor DataLayout m_DataLayout; }; +/// A SpaceToDepthDescriptor for the SpaceToDepthLayer +struct SpaceToDepthDescriptor +{ + SpaceToDepthDescriptor() + : m_BlockSize(1u) + , m_DataLayout(DataLayout::NHWC) + {} + + /// Scalar specifying the input block size. It must be >= 1 + unsigned int m_BlockSize; + /// The data layout to be used (NCHW, NHWC). + DataLayout m_DataLayout; +}; + /// An LstmDescriptor for the LstmLayer. struct LstmDescriptor { @@ -667,4 +681,4 @@ struct PreCompiledDescriptor unsigned int m_NumOutputSlots; }; -} +} // namespace armnn
\ No newline at end of file |