20.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) | |
bool | operator== (const PadDescriptor &rhs) const |
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... | |
A PadDescriptor for the PadLayer.
Definition at line 958 of file Descriptors.hpp.
|
inline |
Definition at line 960 of file Descriptors.hpp.
|
inline |
Definition at line 963 of file Descriptors.hpp.
|
inline |
Definition at line 968 of file Descriptors.hpp.
References PadDescriptor::m_PadList, and PadDescriptor::m_PadValue.
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 977 of file Descriptors.hpp.
Referenced by PadLayer::Clone(), ClPadWorkload::ClPadWorkload(), PadLayer::CreateWorkload(), PadLayer::InferOutputShapes(), NeonPadWorkload::NeonPadWorkload(), PadDescriptor::operator==(), TfLiteParser::OutputShapeOfSqueeze(), armnn::Pad(), Pad2dTestCommon(), Pad3dTestCommon(), Pad4dTestCommon(), StringifyLayerParameters< PadDescriptor >::Serialize(), and SerializerVisitor::VisitPadLayer().
float m_PadValue |
Optional value to use for padding, defaults to 0.
Definition at line 980 of file Descriptors.hpp.
Referenced by PadDescriptor::operator==(), armnn::Pad(), StringifyLayerParameters< PadDescriptor >::Serialize(), and SerializerVisitor::VisitPadLayer().