ArmNN
 20.02
Pooling2dDescriptor Struct Reference

A Pooling2dDescriptor for the Pooling2dLayer. More...

#include <Descriptors.hpp>

Public Member Functions

 Pooling2dDescriptor ()
 
bool operator== (const Pooling2dDescriptor &rhs) const
 

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

Constructor & Destructor Documentation

◆ Pooling2dDescriptor()

Pooling2dDescriptor ( )
inline

Definition at line 315 of file Descriptors.hpp.

317  , m_PadLeft(0)
318  , m_PadRight(0)
319  , m_PadTop(0)
320  , m_PadBottom(0)
321  , m_PoolWidth(0)
322  , m_PoolHeight(0)
323  , m_StrideX(0)
324  , m_StrideY(0)
328  {}
uint32_t m_PadBottom
Padding bottom value in the height dimension.
uint32_t m_PadLeft
Padding left value in the width dimension.
uint32_t m_PoolWidth
Pooling width value.
The padding fields don&#39;t count and are ignored.
PaddingMethod m_PaddingMethod
The padding method to be used. (Exclude, IgnoreValue).
uint32_t m_PadTop
Padding top value in the height dimension.
uint32_t m_StrideX
Stride value when proceeding through input for the width dimension.
uint32_t m_PoolHeight
Pooling height value.
uint32_t m_PadRight
Padding right value in the width dimension.
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).
PoolingAlgorithm m_PoolType
The pooling algorithm to use (Max. Average, L2).
OutputShapeRounding m_OutputShapeRounding
The rounding method for the output shape. (Floor, Ceiling).
uint32_t m_StrideY
Stride value when proceeding through input for the height dimension.

Member Function Documentation

◆ operator==()

bool operator== ( const Pooling2dDescriptor rhs) const
inline

Definition at line 330 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.

331  {
332  return m_PoolType == rhs.m_PoolType &&
333  m_PadLeft == rhs.m_PadLeft &&
334  m_PadRight == rhs.m_PadRight &&
335  m_PadTop == rhs.m_PadTop &&
336  m_PadBottom == rhs.m_PadBottom &&
337  m_PoolWidth == rhs.m_PoolWidth &&
338  m_PoolHeight == rhs.m_PoolHeight &&
339  m_StrideX == rhs.m_StrideX &&
340  m_StrideY == rhs.m_StrideY &&
341  m_OutputShapeRounding == rhs.m_OutputShapeRounding &&
342  m_PaddingMethod == rhs.m_PaddingMethod &&
343  m_DataLayout == rhs.m_DataLayout;
344  }
uint32_t m_PadBottom
Padding bottom value in the height dimension.
uint32_t m_PadLeft
Padding left value in the width dimension.
uint32_t m_PoolWidth
Pooling width value.
PaddingMethod m_PaddingMethod
The padding method to be used. (Exclude, IgnoreValue).
uint32_t m_PadTop
Padding top value in the height dimension.
uint32_t m_StrideX
Stride value when proceeding through input for the width dimension.
uint32_t m_PoolHeight
Pooling height value.
uint32_t m_PadRight
Padding right value in the width dimension.
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).
PoolingAlgorithm m_PoolType
The pooling algorithm to use (Max. Average, L2).
OutputShapeRounding m_OutputShapeRounding
The rounding method for the output shape. (Floor, Ceiling).
uint32_t m_StrideY
Stride value when proceeding through input for the height dimension.

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: