diff options
author | Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> | 2019-06-20 14:28:19 +0100 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-06-21 09:54:30 +0000 |
commit | 639fb0437d1a5a8a6ea737fed5a16b554dfffead (patch) | |
tree | 5b89adc18c1a071d23747a28dcddcfca41e4d815 /include/armnn/Descriptors.hpp | |
parent | 713e95c8c531c5cecd804a7cecc8af745917315c (diff) | |
download | armnn-639fb0437d1a5a8a6ea737fed5a16b554dfffead.tar.gz |
IVGCVSW-3319 Add frontend support for TransposeConvolution2d Layer
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
Change-Id: Ic06f63f1eff255e697facf319e2ac4c83d782e7c
Diffstat (limited to 'include/armnn/Descriptors.hpp')
-rw-r--r-- | include/armnn/Descriptors.hpp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/armnn/Descriptors.hpp b/include/armnn/Descriptors.hpp index dd1991d569..2fda8c1d06 100644 --- a/include/armnn/Descriptors.hpp +++ b/include/armnn/Descriptors.hpp @@ -684,4 +684,36 @@ struct PreCompiledDescriptor unsigned int m_NumOutputSlots; }; +/// A TransposeConvolution2dDescriptor for the TransposeConvolution2dLayer. +struct TransposeConvolution2dDescriptor +{ + TransposeConvolution2dDescriptor() : + m_PadLeft(0), + m_PadRight(0), + m_PadTop(0), + m_PadBottom(0), + m_StrideX(0), + m_StrideY(0), + m_BiasEnabled(false), + m_DataLayout(DataLayout::NCHW) + {} + + /// Padding left value in the width dimension. + uint32_t m_PadLeft; + /// Padding right value in the width dimension. + uint32_t m_PadRight; + /// Padding top value in the height dimension. + uint32_t m_PadTop; + /// Padding bottom value in the height dimension. + uint32_t m_PadBottom; + /// Stride value when proceeding through input for the width dimension. + uint32_t m_StrideX; + /// Stride value when proceeding through input for the height dimension. + uint32_t m_StrideY; + /// Enable/disable bias. + bool m_BiasEnabled; + /// The data layout to be used (NCHW, NHWC). + DataLayout m_DataLayout; +}; + } // namespace armnn
\ No newline at end of file |