24.08
|
A PadDescriptor for the PadLayer. More...
#include <Descriptors.hpp>
Public Member Functions | |
PadDescriptor () | |
PadDescriptor (const std::vector< std::pair< unsigned int, unsigned int >> &padList, const float &padValue=0, const PaddingMode &paddingMode=PaddingMode::Constant) | |
bool | operator== (const PadDescriptor &rhs) const |
Public Member Functions inherited from BaseDescriptor | |
virtual bool | IsNull () const |
virtual | ~BaseDescriptor ()=default |
Public Attributes | |
std::vector< std::pair< unsigned int, unsigned int > > | m_PadList |
Specifies the padding for input dimension. More... | |
float | m_PadValue |
Optional value to use for padding, defaults to 0. More... | |
PaddingMode | m_PaddingMode |
Specifies the Padding mode (Constant, Reflect or Symmetric) More... | |
A PadDescriptor for the PadLayer.
Definition at line 1196 of file Descriptors.hpp.
|
inline |
|
inline |
Definition at line 1201 of file Descriptors.hpp.
|
inline |
Definition at line 1209 of file Descriptors.hpp.
References PadDescriptor::m_PaddingMode, PadDescriptor::m_PadList, and PadDescriptor::m_PadValue.
PaddingMode m_PaddingMode |
Specifies the Padding mode (Constant, Reflect or Symmetric)
Definition at line 1224 of file Descriptors.hpp.
Referenced by PadLayer::Clone(), PadLayer::CreateWorkload(), armnn::MirrorPad(), PadDescriptor::operator==(), and StringifyLayerParameters< PadDescriptor >::Serialize().
std::vector<std::pair<unsigned int, unsigned int> > m_PadList |
Specifies the padding for input dimension.
First is the number of values to add before the tensor in the dimension. Second is the number of values to add after the tensor in the dimension. The number of pairs should match the number of dimensions in the input tensor.
Definition at line 1218 of file Descriptors.hpp.
Referenced by PadLayer::Clone(), ClPadWorkload::ClPadWorkload(), armnn_driver::ConvertPaddings(), ConvertPadToTosaOperator(), PadLayer::CreateWorkload(), PadLayer::InferOutputShapes(), armnn::MirrorPad(), NeonPadWorkload::NeonPadWorkload(), PadDescriptor::operator==(), armnn::Pad(), StringifyLayerParameters< PadDescriptor >::Serialize(), armnn::optimizations::pad_fold::TryFoldPadIntoLayer2d(), and PadQueueDescriptor::Validate().
float m_PadValue |
Optional value to use for padding, defaults to 0.
Definition at line 1221 of file Descriptors.hpp.
Referenced by ConvertPadToTosaOperator(), PadDescriptor::operator==(), armnn::Pad(), StringifyLayerParameters< PadDescriptor >::Serialize(), and armnn::optimizations::pad_fold::TryFoldPadIntoLayer2d().