diff options
author | Teresa Charlin <teresa.charlinreyes@arm.com> | 2019-06-27 15:41:57 +0100 |
---|---|---|
committer | Teresa Charlin <teresa.charlinreyes@arm.com> | 2019-06-28 10:44:19 +0000 |
commit | a9075df5b704e4f4432bf26027e3ba671d4596f0 (patch) | |
tree | e1899766d94464febc50826ec14fa1e1d6f27e39 /include/armnn/Descriptors.hpp | |
parent | 7a3e2feaf419cb6f4c047d67459356ac92aae7e8 (diff) | |
download | armnn-a9075df5b704e4f4432bf26027e3ba671d4596f0.tar.gz |
IVGCVSW-3363 Add frontend support for Resize Layer
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I63493ddb7598515773073deb6db2eb3a635c5dfe
Diffstat (limited to 'include/armnn/Descriptors.hpp')
-rw-r--r-- | include/armnn/Descriptors.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/armnn/Descriptors.hpp b/include/armnn/Descriptors.hpp index 0655d42fbd..8f72c54da1 100644 --- a/include/armnn/Descriptors.hpp +++ b/include/armnn/Descriptors.hpp @@ -503,6 +503,28 @@ struct ResizeBilinearDescriptor DataLayout m_DataLayout; }; +/// A ResizeDescriptor for the ResizeLayer. +struct ResizeDescriptor +{ + ResizeDescriptor() + : m_TargetWidth(0) + , m_TargetHeight(0) + , m_Method(ResizeMethod::NearestNeighbor) + , m_DataLayout(DataLayout::NCHW) + {} + + /// Target width value. + uint32_t m_TargetWidth; + /// Target height value. + uint32_t m_TargetHeight; + /// The Interpolation method to use + /// (Bilinear, NearestNeighbor). + ResizeMethod m_Method; + /// The data layout to be used (NCHW, NHWC). + DataLayout m_DataLayout; +}; + + /// A ReshapeDescriptor for the ReshapeLayer. struct ReshapeDescriptor { |