ArmNN
 23.02
Pooling2dDescriptor Struct Reference

A Pooling2dDescriptor for the Pooling2dLayer. More...

#include <Descriptors.hpp>

Inheritance diagram for Pooling2dDescriptor:
BaseDescriptor

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 339 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ Pooling2dDescriptor()

Pooling2dDescriptor ( )
inline

Definition at line 341 of file Descriptors.hpp.

343  , m_PadLeft(0)
344  , m_PadRight(0)
345  , m_PadTop(0)
346  , m_PadBottom(0)
347  , m_PoolWidth(0)
348  , m_PoolHeight(0)
349  , m_StrideX(0)
350  , m_StrideY(0)
354  {}

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

Member Function Documentation

◆ operator==()

bool operator== ( const Pooling2dDescriptor rhs) const
inline

Definition at line 356 of file Descriptors.hpp.

357  {
358  return m_PoolType == rhs.m_PoolType &&
359  m_PadLeft == rhs.m_PadLeft &&
360  m_PadRight == rhs.m_PadRight &&
361  m_PadTop == rhs.m_PadTop &&
362  m_PadBottom == rhs.m_PadBottom &&
363  m_PoolWidth == rhs.m_PoolWidth &&
364  m_PoolHeight == rhs.m_PoolHeight &&
365  m_StrideX == rhs.m_StrideX &&
366  m_StrideY == rhs.m_StrideY &&
367  m_OutputShapeRounding == rhs.m_OutputShapeRounding &&
368  m_PaddingMethod == rhs.m_PaddingMethod &&
369  m_DataLayout == rhs.m_DataLayout;
370  }

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_StrideY
uint32_t m_StrideY
Stride value when proceeding through input for the height dimension.
Definition: Descriptors.hpp:389
armnn::OutputShapeRounding::Floor
@ Floor
armnn::Pooling2dDescriptor::m_PoolHeight
uint32_t m_PoolHeight
Pooling height value.
Definition: Descriptors.hpp:385
armnn::Pooling2dDescriptor::m_PoolType
PoolingAlgorithm m_PoolType
The pooling algorithm to use (Max. Average, L2).
Definition: Descriptors.hpp:373
armnn::Pooling2dDescriptor::m_DataLayout
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).
Definition: Descriptors.hpp:395
armnn::Pooling2dDescriptor::m_StrideX
uint32_t m_StrideX
Stride value when proceeding through input for the width dimension.
Definition: Descriptors.hpp:387
armnn::DataLayout::NCHW
@ NCHW
armnn::Pooling2dDescriptor::m_PadBottom
uint32_t m_PadBottom
Padding bottom value in the height dimension.
Definition: Descriptors.hpp:381
armnn::Pooling2dDescriptor::m_PoolWidth
uint32_t m_PoolWidth
Pooling width value.
Definition: Descriptors.hpp:383
armnn::Pooling2dDescriptor::m_PadLeft
uint32_t m_PadLeft
Padding left value in the width dimension.
Definition: Descriptors.hpp:375
armnn::Pooling2dDescriptor::m_PadTop
uint32_t m_PadTop
Padding top value in the height dimension.
Definition: Descriptors.hpp:379
armnn::PoolingAlgorithm::Max
@ Max
armnn::Pooling2dDescriptor::m_PadRight
uint32_t m_PadRight
Padding right value in the width dimension.
Definition: Descriptors.hpp:377
armnn::Pooling2dDescriptor::m_PaddingMethod
PaddingMethod m_PaddingMethod
The padding method to be used. (Exclude, IgnoreValue).
Definition: Descriptors.hpp:393
armnn::PaddingMethod::Exclude
@ Exclude
The padding fields don't count and are ignored.
armnn::Pooling2dDescriptor::m_OutputShapeRounding
OutputShapeRounding m_OutputShapeRounding
The rounding method for the output shape. (Floor, Ceiling).
Definition: Descriptors.hpp:391