ArmNN
 25.11
Loading...
Searching...
No Matches
Pooling3dDescriptor Struct Reference

A Pooling3dDescriptor for the Pooling3dLayer. More...

#include <Descriptors.hpp>

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

Public Member Functions

 Pooling3dDescriptor ()
bool operator== (const Pooling3dDescriptor &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).
uint32_t m_PadLeft
 Padding left value in the width dimension.
uint32_t m_PadRight
 Padding right value in the width dimension.
uint32_t m_PadTop
 Padding top value in the height dimension.
uint32_t m_PadBottom
 Padding bottom value in the height dimension.
uint32_t m_PadFront
 Padding front value in the depth dimension.
uint32_t m_PadBack
 Padding back value in the depth dimension.
uint32_t m_PoolWidth
 Pooling width value.
uint32_t m_PoolHeight
 Pooling height value.
uint32_t m_PoolDepth
 Pooling depth value.
uint32_t m_StrideX
 Stride value when proceeding through input for the width dimension.
uint32_t m_StrideY
 Stride value when proceeding through input for the height dimension.
uint32_t m_StrideZ
 Stride value when proceeding through input for the depth dimension.
OutputShapeRounding m_OutputShapeRounding
 The rounding method for the output shape. (Floor, Ceiling).
PaddingMethod m_PaddingMethod
 The padding method to be used. (Exclude, IgnoreValue).
DataLayout m_DataLayout
 The data layout to be used (NCDHW, NDHWC).

Detailed Description

A Pooling3dDescriptor for the Pooling3dLayer.

Definition at line 431 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ Pooling3dDescriptor()

Pooling3dDescriptor ( )
inline

Definition at line 433 of file Descriptors.hpp.

434 : m_PoolType(PoolingAlgorithm::Max)
435 , m_PadLeft(0)
436 , m_PadRight(0)
437 , m_PadTop(0)
438 , m_PadBottom(0)
439 , m_PadFront(0)
440 , m_PadBack(0)
441 , m_PoolWidth(0)
442 , m_PoolHeight(0)
443 , m_PoolDepth(0)
444 , m_StrideX(0)
445 , m_StrideY(0)
446 , m_StrideZ(0)
447 , m_OutputShapeRounding(OutputShapeRounding::Floor)
448 , m_PaddingMethod(PaddingMethod::Exclude)
449 , m_DataLayout(DataLayout::NCDHW)
450 {}

References armnn::Exclude, armnn::Floor, m_DataLayout, m_OutputShapeRounding, m_PadBack, m_PadBottom, m_PaddingMethod, m_PadFront, m_PadLeft, m_PadRight, m_PadTop, m_PoolDepth, m_PoolHeight, m_PoolType, m_PoolWidth, m_StrideX, m_StrideY, m_StrideZ, armnn::Max, and armnn::NCDHW.

Referenced by operator==().

Member Function Documentation

◆ operator==()

bool operator== ( const Pooling3dDescriptor & rhs) const
inline

Definition at line 452 of file Descriptors.hpp.

453 {
454 return m_PoolType == rhs.m_PoolType &&
455 m_PadLeft == rhs.m_PadLeft &&
456 m_PadRight == rhs.m_PadRight &&
457 m_PadTop == rhs.m_PadTop &&
458 m_PadBottom == rhs.m_PadBottom &&
459 m_PadFront == rhs.m_PadFront &&
460 m_PadBack == rhs.m_PadBack &&
461 m_PoolWidth == rhs.m_PoolWidth &&
462 m_PoolHeight == rhs.m_PoolHeight &&
463 m_PoolDepth == rhs.m_PoolDepth &&
464 m_StrideX == rhs.m_StrideX &&
465 m_StrideY == rhs.m_StrideY &&
466 m_StrideZ == rhs.m_StrideZ &&
467 m_OutputShapeRounding == rhs.m_OutputShapeRounding &&
468 m_PaddingMethod == rhs.m_PaddingMethod &&
469 m_DataLayout == rhs.m_DataLayout;
470 }

References m_DataLayout, m_OutputShapeRounding, m_PadBack, m_PadBottom, m_PaddingMethod, m_PadFront, m_PadLeft, m_PadRight, m_PadTop, m_PoolDepth, m_PoolHeight, m_PoolType, m_PoolWidth, m_StrideX, m_StrideY, m_StrideZ, and Pooling3dDescriptor().

Member Data Documentation

◆ m_DataLayout

◆ m_OutputShapeRounding

OutputShapeRounding m_OutputShapeRounding

The rounding method for the output shape. (Floor, Ceiling).

Definition at line 499 of file Descriptors.hpp.

Referenced by IDeserializer::DeserializerImpl::GetPooling3dDescriptor(), operator==(), Pooling3dDescriptor(), and StringifyLayerParameters< Pooling3dDescriptor >::Serialize().

◆ m_PadBack

◆ m_PadBottom

uint32_t m_PadBottom

◆ m_PaddingMethod

◆ m_PadFront

◆ m_PadLeft

◆ m_PadRight

◆ m_PadTop

◆ m_PoolDepth

◆ m_PoolHeight

◆ m_PoolType

◆ m_PoolWidth

◆ m_StrideX

uint32_t m_StrideX

Stride value when proceeding through input for the width dimension.

Definition at line 493 of file Descriptors.hpp.

Referenced by IDeserializer::DeserializerImpl::GetPooling3dDescriptor(), operator==(), armnn::Pooling3d(), Pooling3dDescriptor(), and StringifyLayerParameters< Pooling3dDescriptor >::Serialize().

◆ m_StrideY

uint32_t m_StrideY

Stride value when proceeding through input for the height dimension.

Definition at line 495 of file Descriptors.hpp.

Referenced by IDeserializer::DeserializerImpl::GetPooling3dDescriptor(), operator==(), armnn::Pooling3d(), Pooling3dDescriptor(), and StringifyLayerParameters< Pooling3dDescriptor >::Serialize().

◆ m_StrideZ

uint32_t m_StrideZ

Stride value when proceeding through input for the depth dimension.

Definition at line 497 of file Descriptors.hpp.

Referenced by IDeserializer::DeserializerImpl::GetPooling3dDescriptor(), operator==(), armnn::Pooling3d(), Pooling3dDescriptor(), and StringifyLayerParameters< Pooling3dDescriptor >::Serialize().


The documentation for this struct was generated from the following file: