ArmNN
 24.08
DepthwiseConvolution2dDescriptor Struct Reference

A DepthwiseConvolution2dDescriptor for the DepthwiseConvolution2dLayer. More...

#include <Descriptors.hpp>

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

Public Member Functions

 DepthwiseConvolution2dDescriptor ()
 
bool operator== (const DepthwiseConvolution2dDescriptor &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_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 factor value for width dimension. More...
 
uint32_t m_DilationY
 Dilation factor value for height dimension. More...
 
bool m_BiasEnabled
 Enable/disable bias. More...
 
DataLayout m_DataLayout
 The data layout to be used (NCHW, NHWC). More...
 

Detailed Description

Constructor & Destructor Documentation

◆ DepthwiseConvolution2dDescriptor()

Definition at line 661 of file Descriptors.hpp.

662  : m_PadLeft(0)
663  , m_PadRight(0)
664  , m_PadTop(0)
665  , m_PadBottom(0)
666  , m_StrideX(1)
667  , m_StrideY(1)
668  , m_DilationX(1)
669  , m_DilationY(1)
670  , m_BiasEnabled(false)
672  {}

References armnn::NCHW.

Member Function Documentation

◆ GetNumInputs()

uint32_t GetNumInputs ( ) const

◆ operator==()

bool operator== ( const DepthwiseConvolution2dDescriptor rhs) const
inline

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 files:
armnn::DepthwiseConvolution2dDescriptor::m_BiasEnabled
bool m_BiasEnabled
Enable/disable bias.
Definition: Descriptors.hpp:708
armnn::DepthwiseConvolution2dDescriptor::m_DataLayout
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).
Definition: Descriptors.hpp:710
armnn::DepthwiseConvolution2dDescriptor::m_PadLeft
uint32_t m_PadLeft
Padding left value in the width dimension.
Definition: Descriptors.hpp:692
armnn::DepthwiseConvolution2dDescriptor::m_StrideY
uint32_t m_StrideY
Stride value when proceeding through input for the height dimension.
Definition: Descriptors.hpp:702
armnn::DepthwiseConvolution2dDescriptor::m_DilationY
uint32_t m_DilationY
Dilation factor value for height dimension.
Definition: Descriptors.hpp:706
armnn::DepthwiseConvolution2dDescriptor::m_PadRight
uint32_t m_PadRight
Padding right value in the width dimension.
Definition: Descriptors.hpp:694
armnn::DepthwiseConvolution2dDescriptor::m_PadBottom
uint32_t m_PadBottom
Padding bottom value in the height dimension.
Definition: Descriptors.hpp:698
armnn::GetNumInputs
uint32_t GetNumInputs(bool biasEnabled)
Definition: Descriptors.cpp:455
armnn::DepthwiseConvolution2dDescriptor::m_DilationX
uint32_t m_DilationX
Dilation factor value for width dimension.
Definition: Descriptors.hpp:704
armnn::DataLayout::NCHW
@ NCHW
armnn::DepthwiseConvolution2dDescriptor::m_StrideX
uint32_t m_StrideX
Stride value when proceeding through input for the width dimension.
Definition: Descriptors.hpp:700
armnn::DepthwiseConvolution2dDescriptor::m_PadTop
uint32_t m_PadTop
Padding top value in the height dimension.
Definition: Descriptors.hpp:696