ArmNN
 24.02
Convolution2dDescriptor Struct Reference

A Convolution2dDescriptor for the Convolution2dLayer. More...

#include <Descriptors.hpp>

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

Public Member Functions

 Convolution2dDescriptor ()
 
bool operator== (const Convolution2dDescriptor &rhs) const
 
uint32_t GetNumInputs () const
 
- 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_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_DilationX
 Dilation along x axis. More...
 
uint32_t m_DilationY
 Dilation along y axis. More...
 
bool m_BiasEnabled
 Enable/disable bias. More...
 
DataLayout m_DataLayout
 The data layout to be used (NCHW, NHWC). More...
 

Detailed Description

A Convolution2dDescriptor for the Convolution2dLayer.

Definition at line 534 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ Convolution2dDescriptor()

Definition at line 536 of file Descriptors.hpp.

537  : m_PadLeft(0)
538  , m_PadRight(0)
539  , m_PadTop(0)
540  , m_PadBottom(0)
541  , m_StrideX(1)
542  , m_StrideY(1)
543  , m_DilationX(1)
544  , m_DilationY(1)
545  , m_BiasEnabled(false)
547  {}

References armnn::NCHW.

Member Function Documentation

◆ GetNumInputs()

uint32_t GetNumInputs ( ) const

◆ operator==()

bool operator== ( const Convolution2dDescriptor rhs) const
inline

Definition at line 549 of file Descriptors.hpp.

550  {
551  return m_PadLeft == rhs.m_PadLeft &&
552  m_PadRight == rhs.m_PadRight &&
553  m_PadTop == rhs.m_PadTop &&
554  m_PadBottom == rhs.m_PadBottom &&
555  m_StrideX == rhs.m_StrideX &&
556  m_StrideY == rhs.m_StrideY &&
557  m_DilationX == rhs.m_DilationX &&
558  m_DilationY == rhs.m_DilationY &&
559  m_BiasEnabled == rhs.m_BiasEnabled &&
560  m_DataLayout == rhs.m_DataLayout;
561  }

References Convolution2dDescriptor::m_BiasEnabled, Convolution2dDescriptor::m_DataLayout, Convolution2dDescriptor::m_DilationX, Convolution2dDescriptor::m_DilationY, Convolution2dDescriptor::m_PadBottom, Convolution2dDescriptor::m_PadLeft, Convolution2dDescriptor::m_PadRight, Convolution2dDescriptor::m_PadTop, Convolution2dDescriptor::m_StrideX, and Convolution2dDescriptor::m_StrideY.

Member Data Documentation

◆ m_BiasEnabled

◆ m_DataLayout

◆ m_DilationX

◆ m_DilationY

◆ m_PadBottom

uint32_t m_PadBottom

◆ m_PadLeft

uint32_t m_PadLeft

◆ m_PadRight

uint32_t m_PadRight

◆ m_PadTop

uint32_t m_PadTop

◆ m_StrideX

uint32_t m_StrideX

◆ m_StrideY

uint32_t m_StrideY

The documentation for this struct was generated from the following files:
armnn::Convolution2dDescriptor::m_PadTop
uint32_t m_PadTop
Padding top value in the height dimension.
Definition: Descriptors.hpp:570
armnn::Convolution2dDescriptor::m_StrideY
uint32_t m_StrideY
Stride value when proceeding through input for the height dimension.
Definition: Descriptors.hpp:576
armnn::Convolution2dDescriptor::m_PadLeft
uint32_t m_PadLeft
Padding left value in the width dimension.
Definition: Descriptors.hpp:566
armnn::Convolution2dDescriptor::m_DilationY
uint32_t m_DilationY
Dilation along y axis.
Definition: Descriptors.hpp:580
armnn::Convolution2dDescriptor::m_BiasEnabled
bool m_BiasEnabled
Enable/disable bias.
Definition: Descriptors.hpp:582
armnn::Convolution2dDescriptor::m_DataLayout
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).
Definition: Descriptors.hpp:584
armnn::Convolution2dDescriptor::m_PadBottom
uint32_t m_PadBottom
Padding bottom value in the height dimension.
Definition: Descriptors.hpp:572
armnn::Convolution2dDescriptor::m_StrideX
uint32_t m_StrideX
Stride value when proceeding through input for the width dimension.
Definition: Descriptors.hpp:574
armnn::Convolution2dDescriptor::m_PadRight
uint32_t m_PadRight
Padding right value in the width dimension.
Definition: Descriptors.hpp:568
armnn::GetNumInputs
uint32_t GetNumInputs(bool biasEnabled)
Definition: Descriptors.cpp:454
armnn::Convolution2dDescriptor::m_DilationX
uint32_t m_DilationX
Dilation along x axis.
Definition: Descriptors.hpp:578
armnn::DataLayout::NCHW
@ NCHW