ArmNN
 24.08
Pooling2dDescriptor Struct Reference

A Pooling2dDescriptor for the Pooling2dLayer. More...

#include <Descriptors.hpp>

Inheritance diagram for Pooling2dDescriptor:
[legend]
Collaboration diagram for Pooling2dDescriptor:
[legend]

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...
 

Detailed Description

A Pooling2dDescriptor for the Pooling2dLayer.

Definition at line 371 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ Pooling2dDescriptor()

Pooling2dDescriptor ( )
inline

Definition at line 373 of file Descriptors.hpp.

375  , m_PadLeft(0)
376  , m_PadRight(0)
377  , m_PadTop(0)
378  , m_PadBottom(0)
379  , m_PoolWidth(0)
380  , m_PoolHeight(0)
381  , m_StrideX(0)
382  , m_StrideY(0)
386  {}

References armnn::Exclude, armnn::Floor, armnn::Max, and armnn::NCHW.

Member Function Documentation

◆ operator==()

bool operator== ( const Pooling2dDescriptor rhs) const
inline

Definition at line 388 of file Descriptors.hpp.

389  {
390  return m_PoolType == rhs.m_PoolType &&
391  m_PadLeft == rhs.m_PadLeft &&
392  m_PadRight == rhs.m_PadRight &&
393  m_PadTop == rhs.m_PadTop &&
394  m_PadBottom == rhs.m_PadBottom &&
395  m_PoolWidth == rhs.m_PoolWidth &&
396  m_PoolHeight == rhs.m_PoolHeight &&
397  m_StrideX == rhs.m_StrideX &&
398  m_StrideY == rhs.m_StrideY &&
399  m_OutputShapeRounding == rhs.m_OutputShapeRounding &&
400  m_PaddingMethod == rhs.m_PaddingMethod &&
401  m_DataLayout == rhs.m_DataLayout;
402  }

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.

Member Data Documentation

◆ m_DataLayout

◆ m_OutputShapeRounding

◆ m_PadBottom

◆ m_PaddingMethod

◆ m_PadLeft

◆ m_PadRight

◆ m_PadTop

◆ m_PoolHeight

◆ m_PoolType

◆ m_PoolWidth

◆ m_StrideX

◆ m_StrideY


The documentation for this struct was generated from the following file:
armnn::Pooling2dDescriptor::m_PaddingMethod
PaddingMethod m_PaddingMethod
The padding method to be used. (Exclude, IgnoreValue).
Definition: Descriptors.hpp:425
armnn::Pooling2dDescriptor::m_PoolHeight
uint32_t m_PoolHeight
Pooling height value.
Definition: Descriptors.hpp:417
armnn::OutputShapeRounding::Floor
@ Floor
armnn::Pooling2dDescriptor::m_StrideY
uint32_t m_StrideY
Stride value when proceeding through input for the height dimension.
Definition: Descriptors.hpp:421
armnn::Pooling2dDescriptor::m_PadTop
uint32_t m_PadTop
Padding top value in the height dimension.
Definition: Descriptors.hpp:411
armnn::Pooling2dDescriptor::m_PoolWidth
uint32_t m_PoolWidth
Pooling width value.
Definition: Descriptors.hpp:415
armnn::Pooling2dDescriptor::m_DataLayout
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).
Definition: Descriptors.hpp:427
armnn::Pooling2dDescriptor::m_PadBottom
uint32_t m_PadBottom
Padding bottom value in the height dimension.
Definition: Descriptors.hpp:413
armnn::Pooling2dDescriptor::m_PadRight
uint32_t m_PadRight
Padding right value in the width dimension.
Definition: Descriptors.hpp:409
armnn::PaddingMethod::Exclude
@ Exclude
The padding fields don't count and are ignored.
armnn::Pooling2dDescriptor::m_PadLeft
uint32_t m_PadLeft
Padding left value in the width dimension.
Definition: Descriptors.hpp:407
armnn::Pooling2dDescriptor::m_StrideX
uint32_t m_StrideX
Stride value when proceeding through input for the width dimension.
Definition: Descriptors.hpp:419
armnn::PoolingAlgorithm::Max
@ Max
armnn::Pooling2dDescriptor::m_OutputShapeRounding
OutputShapeRounding m_OutputShapeRounding
The rounding method for the output shape. (Floor, Ceiling).
Definition: Descriptors.hpp:423
armnn::Pooling2dDescriptor::m_PoolType
PoolingAlgorithm m_PoolType
The pooling algorithm to use (Max. Average, L2).
Definition: Descriptors.hpp:405
armnn::DataLayout::NCHW
@ NCHW