24.08
|
A Convolution2dDescriptor for the Convolution2dLayer. More...
#include <Descriptors.hpp>
Public Member Functions | |
Convolution2dDescriptor () | |
bool | operator== (const Convolution2dDescriptor &rhs) const |
uint32_t | GetNumInputs () const |
Public Member Functions inherited from BaseDescriptor | |
virtual bool | IsNull () const |
virtual | ~BaseDescriptor ()=default |
Public Attributes | |
uint32_t | m_PadLeft |
Padding left value in the width dimension. More... | |
uint32_t | m_PadRight |
Padding right value in the width dimension. More... | |
uint32_t | m_PadTop |
Padding top value in the height dimension. More... | |
uint32_t | m_PadBottom |
Padding bottom value in the height dimension. More... | |
uint32_t | m_StrideX |
Stride value when proceeding through input for the width dimension. More... | |
uint32_t | m_StrideY |
Stride value when proceeding through input for the height dimension. More... | |
uint32_t | m_DilationX |
Dilation along x axis. More... | |
uint32_t | m_DilationY |
Dilation along y axis. More... | |
bool | m_BiasEnabled |
Enable/disable bias. More... | |
DataLayout | m_DataLayout |
The data layout to be used (NCHW, NHWC). More... | |
A Convolution2dDescriptor for the Convolution2dLayer.
Definition at line 534 of file Descriptors.hpp.
|
inline |
uint32_t GetNumInputs | ( | ) | const |
Definition at line 470 of file Descriptors.cpp.
References armnn::GetNumInputs(), and Convolution2dDescriptor::m_BiasEnabled.
Referenced by Convolution2dLayer::ValidateTensorShapesFromInputs().
|
inline |
Definition at line 549 of file Descriptors.hpp.
References Convolution2dDescriptor::m_BiasEnabled, Convolution2dDescriptor::m_DataLayout, Convolution2dDescriptor::m_DilationX, Convolution2dDescriptor::m_DilationY, Convolution2dDescriptor::m_PadBottom, Convolution2dDescriptor::m_PadLeft, Convolution2dDescriptor::m_PadRight, Convolution2dDescriptor::m_PadTop, Convolution2dDescriptor::m_StrideX, and Convolution2dDescriptor::m_StrideY.
bool m_BiasEnabled |
Enable/disable bias.
Definition at line 582 of file Descriptors.hpp.
Referenced by ConvertConv2dToTosaOperator(), NeonConvolution2dWorkload::Execute(), Convolution2dDescriptor::GetNumInputs(), LayerSupportHandle::IsConvolution2dSupported(), NeonConvolution2dWorkload::NeonConvolution2dWorkload(), Convolution2dDescriptor::operator==(), NeonBackend::OptimizeSubgraphView(), ClBackend::OptimizeSubgraphView(), StringifyLayerParameters< Convolution2dDescriptor >::Serialize(), and Convolution2dQueueDescriptor::Validate().
DataLayout m_DataLayout |
The data layout to be used (NCHW, NHWC).
Definition at line 584 of file Descriptors.hpp.
Referenced by Convolution2dLayer::InferOutputShapes(), Convolution2dDescriptor::operator==(), StringifyLayerParameters< Convolution2dDescriptor >::Serialize(), Convolution2dLayer::SerializeLayerParameters(), and ClConvolution2dWorkload::SupportsTensorHandleReplacement().
uint32_t m_DilationX |
Dilation along x axis.
Definition at line 578 of file Descriptors.hpp.
Referenced by Convolution2dLayer::InferOutputShapes(), Convolution2dDescriptor::operator==(), and StringifyLayerParameters< Convolution2dDescriptor >::Serialize().
uint32_t m_DilationY |
Dilation along y axis.
Definition at line 580 of file Descriptors.hpp.
Referenced by Convolution2dLayer::InferOutputShapes(), Convolution2dDescriptor::operator==(), and StringifyLayerParameters< Convolution2dDescriptor >::Serialize().
uint32_t m_PadBottom |
Padding bottom value in the height dimension.
Definition at line 572 of file Descriptors.hpp.
Referenced by Convolution2dLayer::InferOutputShapes(), Convolution2dDescriptor::operator==(), and StringifyLayerParameters< Convolution2dDescriptor >::Serialize().
uint32_t m_PadLeft |
Padding left value in the width dimension.
Definition at line 566 of file Descriptors.hpp.
Referenced by Convolution2dLayer::InferOutputShapes(), Convolution2dDescriptor::operator==(), and StringifyLayerParameters< Convolution2dDescriptor >::Serialize().
uint32_t m_PadRight |
Padding right value in the width dimension.
Definition at line 568 of file Descriptors.hpp.
Referenced by Convolution2dLayer::InferOutputShapes(), Convolution2dDescriptor::operator==(), and StringifyLayerParameters< Convolution2dDescriptor >::Serialize().
uint32_t m_PadTop |
Padding top value in the height dimension.
Definition at line 570 of file Descriptors.hpp.
Referenced by Convolution2dLayer::InferOutputShapes(), Convolution2dDescriptor::operator==(), and StringifyLayerParameters< Convolution2dDescriptor >::Serialize().
uint32_t m_StrideX |
Stride value when proceeding through input for the width dimension.
Definition at line 574 of file Descriptors.hpp.
Referenced by Convolution2dLayer::InferOutputShapes(), Convolution2dDescriptor::operator==(), StringifyLayerParameters< Convolution2dDescriptor >::Serialize(), and Convolution2dQueueDescriptor::Validate().
uint32_t m_StrideY |
Stride value when proceeding through input for the height dimension.
Definition at line 576 of file Descriptors.hpp.
Referenced by Convolution2dLayer::InferOutputShapes(), Convolution2dDescriptor::operator==(), StringifyLayerParameters< Convolution2dDescriptor >::Serialize(), and Convolution2dQueueDescriptor::Validate().