ArmNN
 20.02
Convolution2dDescriptor Struct Reference

A Convolution2dDescriptor for the Convolution2dLayer. More...

#include <Descriptors.hpp>

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ Convolution2dDescriptor()

Definition at line 394 of file Descriptors.hpp.

395  : m_PadLeft(0)
396  , m_PadRight(0)
397  , m_PadTop(0)
398  , m_PadBottom(0)
399  , m_StrideX(0)
400  , m_StrideY(0)
401  , m_DilationX(1)
402  , m_DilationY(1)
403  , m_BiasEnabled(false)
405  {}
uint32_t m_PadBottom
Padding bottom value in the height dimension.
bool m_BiasEnabled
Enable/disable bias.
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).
uint32_t m_PadRight
Padding right value in the width dimension.
uint32_t m_DilationY
Dilation along y axis.
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_StrideY
Stride value when proceeding through input for the height dimension.
uint32_t m_DilationX
Dilation along x axis.
uint32_t m_PadLeft
Padding left value in the width dimension.

Member Function Documentation

◆ operator==()

bool operator== ( const Convolution2dDescriptor rhs) const
inline

Definition at line 407 of file Descriptors.hpp.

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.

408  {
409  return m_PadLeft == rhs.m_PadLeft &&
410  m_PadRight == rhs.m_PadRight &&
411  m_PadTop == rhs.m_PadTop &&
412  m_PadBottom == rhs.m_PadBottom &&
413  m_StrideX == rhs.m_StrideX &&
414  m_StrideY == rhs.m_StrideY &&
415  m_DilationX == rhs.m_DilationX &&
416  m_DilationY == rhs.m_DilationY &&
417  m_BiasEnabled == rhs.m_BiasEnabled &&
418  m_DataLayout == rhs.m_DataLayout;
419  }
uint32_t m_PadBottom
Padding bottom value in the height dimension.
bool m_BiasEnabled
Enable/disable bias.
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).
uint32_t m_PadRight
Padding right value in the width dimension.
uint32_t m_DilationY
Dilation along y axis.
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_StrideY
Stride value when proceeding through input for the height dimension.
uint32_t m_DilationX
Dilation along x axis.
uint32_t m_PadLeft
Padding left value in the width dimension.

Member Data Documentation

◆ m_BiasEnabled

◆ m_DataLayout

◆ m_DilationX

◆ m_DilationY

◆ m_PadBottom

◆ m_PadLeft

◆ m_PadRight

◆ m_PadTop

◆ m_StrideX

◆ m_StrideY


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