ArmNN
 24.02
Convolution3dDescriptor Struct Reference

A Convolution3dDescriptor for the Convolution3dLayer. More...

#include <Descriptors.hpp>

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

Public Member Functions

 Convolution3dDescriptor ()
 
bool operator== (const Convolution3dDescriptor &rhs) const
 
uint32_t GetNumInputs () const
 Get the number of views/inputs. More...
 
- Public Member Functions inherited from BaseDescriptor
virtual bool IsNull () const
 
virtual ~BaseDescriptor ()=default
 

Public Attributes

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_PadFront
 Padding front value in the depth dimension. More...
 
uint32_t m_PadBack
 Padding back value in the depth dimension. 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...
 
uint32_t m_StrideZ
 Stride value when proceeding through input for the depth dimension. More...
 
uint32_t m_DilationX
 Dilation along x axis. More...
 
uint32_t m_DilationY
 Dilation along y axis. More...
 
uint32_t m_DilationZ
 Dilation along z axis. More...
 
bool m_BiasEnabled
 Enable/disable bias. More...
 
DataLayout m_DataLayout
 The data layout to be used (NDHWC, NCDHW). More...
 

Detailed Description

A Convolution3dDescriptor for the Convolution3dLayer.

Definition at line 588 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ Convolution3dDescriptor()

Definition at line 590 of file Descriptors.hpp.

591  : m_PadLeft(0)
592  , m_PadRight(0)
593  , m_PadTop(0)
594  , m_PadBottom(0)
595  , m_PadFront(0)
596  , m_PadBack(0)
597  , m_StrideX(1)
598  , m_StrideY(1)
599  , m_StrideZ(1)
600  , m_DilationX(1)
601  , m_DilationY(1)
602  , m_DilationZ(1)
603  , m_BiasEnabled(false)
605  {}

References armnn::NDHWC.

Member Function Documentation

◆ GetNumInputs()

uint32_t GetNumInputs ( ) const

Get the number of views/inputs.

Definition at line 464 of file Descriptors.cpp.

465 {
467 }

References armnn::GetNumInputs(), and Convolution3dDescriptor::m_BiasEnabled.

Referenced by Convolution3dLayer::ValidateTensorShapesFromInputs().

◆ operator==()

bool operator== ( const Convolution3dDescriptor rhs) const
inline

Definition at line 607 of file Descriptors.hpp.

608  {
609  return m_PadLeft == rhs.m_PadLeft &&
610  m_PadRight == rhs.m_PadRight &&
611  m_PadTop == rhs.m_PadTop &&
612  m_PadBottom == rhs.m_PadBottom &&
613  m_PadFront == rhs.m_PadFront &&
614  m_PadBack == rhs.m_PadBack &&
615  m_StrideX == rhs.m_StrideX &&
616  m_StrideY == rhs.m_StrideY &&
617  m_StrideZ == rhs.m_StrideZ &&
618  m_DilationX == rhs.m_DilationX &&
619  m_DilationY == rhs.m_DilationY &&
620  m_DilationZ == rhs.m_DilationZ &&
621  m_BiasEnabled == rhs.m_BiasEnabled &&
622  m_DataLayout == rhs.m_DataLayout;
623  }

References Convolution3dDescriptor::m_BiasEnabled, Convolution3dDescriptor::m_DataLayout, Convolution3dDescriptor::m_DilationX, Convolution3dDescriptor::m_DilationY, Convolution3dDescriptor::m_DilationZ, Convolution3dDescriptor::m_PadBack, Convolution3dDescriptor::m_PadBottom, Convolution3dDescriptor::m_PadFront, Convolution3dDescriptor::m_PadLeft, Convolution3dDescriptor::m_PadRight, Convolution3dDescriptor::m_PadTop, Convolution3dDescriptor::m_StrideX, Convolution3dDescriptor::m_StrideY, and Convolution3dDescriptor::m_StrideZ.

Member Data Documentation

◆ m_BiasEnabled

◆ m_DataLayout

DataLayout m_DataLayout

◆ m_DilationX

◆ m_DilationY

◆ m_DilationZ

◆ m_PadBack

◆ m_PadBottom

uint32_t m_PadBottom

◆ m_PadFront

◆ m_PadLeft

◆ m_PadRight

◆ m_PadTop

◆ m_StrideX

◆ m_StrideY

◆ m_StrideZ


The documentation for this struct was generated from the following files:
armnn::Convolution3dDescriptor::m_PadFront
uint32_t m_PadFront
Padding front value in the depth dimension.
Definition: Descriptors.hpp:637
armnn::Convolution3dDescriptor::m_PadTop
uint32_t m_PadTop
Padding top value in the height dimension.
Definition: Descriptors.hpp:633
armnn::Convolution3dDescriptor::m_DilationX
uint32_t m_DilationX
Dilation along x axis.
Definition: Descriptors.hpp:647
armnn::Convolution3dDescriptor::m_PadBottom
uint32_t m_PadBottom
Padding bottom value in the height dimension.
Definition: Descriptors.hpp:635
armnn::DataLayout::NDHWC
@ NDHWC
armnn::Convolution3dDescriptor::m_PadRight
uint32_t m_PadRight
Padding right value in the width dimension.
Definition: Descriptors.hpp:631
armnn::Convolution3dDescriptor::m_DilationZ
uint32_t m_DilationZ
Dilation along z axis.
Definition: Descriptors.hpp:651
armnn::Convolution3dDescriptor::m_PadLeft
uint32_t m_PadLeft
Padding left value in the width dimension.
Definition: Descriptors.hpp:629
armnn::Convolution3dDescriptor::m_StrideY
uint32_t m_StrideY
Stride value when proceeding through input for the height dimension.
Definition: Descriptors.hpp:643
armnn::Convolution3dDescriptor::m_StrideX
uint32_t m_StrideX
Stride value when proceeding through input for the width dimension.
Definition: Descriptors.hpp:641
armnn::GetNumInputs
uint32_t GetNumInputs(bool biasEnabled)
Definition: Descriptors.cpp:454
armnn::Convolution3dDescriptor::m_PadBack
uint32_t m_PadBack
Padding back value in the depth dimension.
Definition: Descriptors.hpp:639
armnn::Convolution3dDescriptor::m_DilationY
uint32_t m_DilationY
Dilation along y axis.
Definition: Descriptors.hpp:649
armnn::Convolution3dDescriptor::m_BiasEnabled
bool m_BiasEnabled
Enable/disable bias.
Definition: Descriptors.hpp:653
armnn::Convolution3dDescriptor::m_StrideZ
uint32_t m_StrideZ
Stride value when proceeding through input for the depth dimension.
Definition: Descriptors.hpp:645
armnn::Convolution3dDescriptor::m_DataLayout
DataLayout m_DataLayout
The data layout to be used (NDHWC, NCDHW).
Definition: Descriptors.hpp:655