24.02
|
A Pooling2dDescriptor for the Pooling2dLayer. More...
#include <Descriptors.hpp>
Public Member Functions | |
Pooling2dDescriptor () | |
bool | operator== (const Pooling2dDescriptor &rhs) const |
Public Member Functions inherited from BaseDescriptor | |
virtual bool | IsNull () const |
virtual | ~BaseDescriptor ()=default |
Public Attributes | |
PoolingAlgorithm | m_PoolType |
The pooling algorithm to use (Max. Average, L2). More... | |
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_PoolWidth |
Pooling width value. More... | |
uint32_t | m_PoolHeight |
Pooling height value. 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... | |
OutputShapeRounding | m_OutputShapeRounding |
The rounding method for the output shape. (Floor, Ceiling). More... | |
PaddingMethod | m_PaddingMethod |
The padding method to be used. (Exclude, IgnoreValue). More... | |
DataLayout | m_DataLayout |
The data layout to be used (NCHW, NHWC). More... | |
A Pooling2dDescriptor for the Pooling2dLayer.
Definition at line 371 of file Descriptors.hpp.
|
inline |
Definition at line 373 of file Descriptors.hpp.
References armnn::Exclude, armnn::Floor, armnn::Max, and armnn::NCHW.
|
inline |
Definition at line 388 of file Descriptors.hpp.
References Pooling2dDescriptor::m_DataLayout, Pooling2dDescriptor::m_OutputShapeRounding, Pooling2dDescriptor::m_PadBottom, Pooling2dDescriptor::m_PaddingMethod, Pooling2dDescriptor::m_PadLeft, Pooling2dDescriptor::m_PadRight, Pooling2dDescriptor::m_PadTop, Pooling2dDescriptor::m_PoolHeight, Pooling2dDescriptor::m_PoolType, Pooling2dDescriptor::m_PoolWidth, Pooling2dDescriptor::m_StrideX, and Pooling2dDescriptor::m_StrideY.
DataLayout m_DataLayout |
The data layout to be used (NCHW, NHWC).
Definition at line 427 of file Descriptors.hpp.
Referenced by ConvertAvgPool2DIgnoreValueToTosaOperator(), armnn_driver::ConvertPooling2d(), IDeserializer::DeserializerImpl::GetPooling2dDescriptor(), Pooling2dLayer::InferOutputShapes(), Pooling2dDescriptor::operator==(), armnn::Pooling2d(), StringifyLayerParameters< Pooling2dDescriptor >::Serialize(), and armnn::optimizations::pad_fold::TryFoldPadIntoLayer2d().
OutputShapeRounding m_OutputShapeRounding |
The rounding method for the output shape. (Floor, Ceiling).
Definition at line 423 of file Descriptors.hpp.
Referenced by armnn_driver::ConvertPooling2d(), IDeserializer::DeserializerImpl::GetPooling2dDescriptor(), Pooling2dLayer::InferOutputShapes(), Pooling2dDescriptor::operator==(), and StringifyLayerParameters< Pooling2dDescriptor >::Serialize().
uint32_t m_PadBottom |
Padding bottom value in the height dimension.
Definition at line 413 of file Descriptors.hpp.
Referenced by ConvertAvgPool2DIgnoreValueToTosaOperator(), armnn_driver::ConvertPooling2d(), ConvertPooling2DToTosaOperator(), IDeserializer::DeserializerImpl::GetPooling2dDescriptor(), Pooling2dLayer::InferOutputShapes(), armnn::optimizations::pad_fold::IsPooling2dPadded(), Pooling2dDescriptor::operator==(), armnn::Pooling2d(), and StringifyLayerParameters< Pooling2dDescriptor >::Serialize().
PaddingMethod m_PaddingMethod |
The padding method to be used. (Exclude, IgnoreValue).
Definition at line 425 of file Descriptors.hpp.
Referenced by IDeserializer::DeserializerImpl::GetPooling2dDescriptor(), Pooling2dDescriptor::operator==(), armnn::Pooling2d(), StringifyLayerParameters< Pooling2dDescriptor >::Serialize(), and armnn::optimizations::pad_fold::TryFoldPadIntoLayer2d().
uint32_t m_PadLeft |
Padding left value in the width dimension.
Definition at line 407 of file Descriptors.hpp.
Referenced by ConvertAvgPool2DIgnoreValueToTosaOperator(), armnn_driver::ConvertPooling2d(), ConvertPooling2DToTosaOperator(), IDeserializer::DeserializerImpl::GetPooling2dDescriptor(), Pooling2dLayer::InferOutputShapes(), armnn::optimizations::pad_fold::IsPooling2dPadded(), Pooling2dDescriptor::operator==(), armnn::Pooling2d(), and StringifyLayerParameters< Pooling2dDescriptor >::Serialize().
uint32_t m_PadRight |
Padding right value in the width dimension.
Definition at line 409 of file Descriptors.hpp.
Referenced by ConvertAvgPool2DIgnoreValueToTosaOperator(), armnn_driver::ConvertPooling2d(), ConvertPooling2DToTosaOperator(), IDeserializer::DeserializerImpl::GetPooling2dDescriptor(), Pooling2dLayer::InferOutputShapes(), armnn::optimizations::pad_fold::IsPooling2dPadded(), Pooling2dDescriptor::operator==(), armnn::Pooling2d(), and StringifyLayerParameters< Pooling2dDescriptor >::Serialize().
uint32_t m_PadTop |
Padding top value in the height dimension.
Definition at line 411 of file Descriptors.hpp.
Referenced by ConvertAvgPool2DIgnoreValueToTosaOperator(), armnn_driver::ConvertPooling2d(), ConvertPooling2DToTosaOperator(), IDeserializer::DeserializerImpl::GetPooling2dDescriptor(), Pooling2dLayer::InferOutputShapes(), armnn::optimizations::pad_fold::IsPooling2dPadded(), Pooling2dDescriptor::operator==(), armnn::Pooling2d(), and StringifyLayerParameters< Pooling2dDescriptor >::Serialize().
uint32_t m_PoolHeight |
Pooling height value.
Definition at line 417 of file Descriptors.hpp.
Referenced by ConvertAvgPool2DIgnoreValueToTosaOperator(), armnn_driver::ConvertPooling2d(), ConvertPooling2DToTosaOperator(), IDeserializer::DeserializerImpl::GetPooling2dDescriptor(), Pooling2dLayer::InferOutputShapes(), Pooling2dDescriptor::operator==(), armnn::Pooling2d(), and StringifyLayerParameters< Pooling2dDescriptor >::Serialize().
PoolingAlgorithm m_PoolType |
The pooling algorithm to use (Max. Average, L2).
Definition at line 405 of file Descriptors.hpp.
Referenced by armnn_driver::ConvertPooling2d(), ConvertPooling2DToTosaOperator(), CreatePool2dAttributes(), IDeserializer::DeserializerImpl::GetPooling2dDescriptor(), armnn::optimizations::pad_fold::IsNeutralElement(), Pooling2dDescriptor::operator==(), armnn::Pooling2d(), StringifyLayerParameters< Pooling2dDescriptor >::Serialize(), and armnn::optimizations::pad_fold::TryFoldPadIntoLayer2d().
uint32_t m_PoolWidth |
Pooling width value.
Definition at line 415 of file Descriptors.hpp.
Referenced by ConvertAvgPool2DIgnoreValueToTosaOperator(), armnn_driver::ConvertPooling2d(), ConvertPooling2DToTosaOperator(), IDeserializer::DeserializerImpl::GetPooling2dDescriptor(), Pooling2dLayer::InferOutputShapes(), Pooling2dDescriptor::operator==(), armnn::Pooling2d(), and StringifyLayerParameters< Pooling2dDescriptor >::Serialize().
uint32_t m_StrideX |
Stride value when proceeding through input for the width dimension.
Definition at line 419 of file Descriptors.hpp.
Referenced by ConvertAvgPool2DIgnoreValueToTosaOperator(), armnn_driver::ConvertPooling2d(), ConvertPooling2DToTosaOperator(), IDeserializer::DeserializerImpl::GetPooling2dDescriptor(), Pooling2dLayer::InferOutputShapes(), Pooling2dDescriptor::operator==(), armnn::Pooling2d(), and StringifyLayerParameters< Pooling2dDescriptor >::Serialize().
uint32_t m_StrideY |
Stride value when proceeding through input for the height dimension.
Definition at line 421 of file Descriptors.hpp.
Referenced by ConvertAvgPool2DIgnoreValueToTosaOperator(), armnn_driver::ConvertPooling2d(), ConvertPooling2DToTosaOperator(), IDeserializer::DeserializerImpl::GetPooling2dDescriptor(), Pooling2dLayer::InferOutputShapes(), Pooling2dDescriptor::operator==(), armnn::Pooling2d(), and StringifyLayerParameters< Pooling2dDescriptor >::Serialize().