ArmNN
 23.05
DepthwiseConvolution2dDescriptor Struct Reference

A DepthwiseConvolution2dDescriptor for the DepthwiseConvolution2dLayer. More...

#include <Descriptors.hpp>

Inheritance diagram for DepthwiseConvolution2dDescriptor:
BaseDescriptor

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

650  : m_PadLeft(0)
651  , m_PadRight(0)
652  , m_PadTop(0)
653  , m_PadBottom(0)
654  , m_StrideX(1)
655  , m_StrideY(1)
656  , m_DilationX(1)
657  , m_DilationY(1)
658  , m_BiasEnabled(false)
660  {}

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:696
armnn::DepthwiseConvolution2dDescriptor::m_StrideX
uint32_t m_StrideX
Stride value when proceeding through input for the width dimension.
Definition: Descriptors.hpp:688
armnn::DepthwiseConvolution2dDescriptor::m_DilationX
uint32_t m_DilationX
Dilation factor value for width dimension.
Definition: Descriptors.hpp:692
armnn::DepthwiseConvolution2dDescriptor::m_PadLeft
uint32_t m_PadLeft
Padding left value in the width dimension.
Definition: Descriptors.hpp:680
armnn::DepthwiseConvolution2dDescriptor::m_PadTop
uint32_t m_PadTop
Padding top value in the height dimension.
Definition: Descriptors.hpp:684
armnn::GetNumInputs
uint32_t GetNumInputs(bool biasEnabled)
Definition: Descriptors.cpp:428
armnn::DepthwiseConvolution2dDescriptor::m_DilationY
uint32_t m_DilationY
Dilation factor value for height dimension.
Definition: Descriptors.hpp:694
armnn::DataLayout::NCHW
@ NCHW
armnn::DepthwiseConvolution2dDescriptor::m_DataLayout
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).
Definition: Descriptors.hpp:698
armnn::DepthwiseConvolution2dDescriptor::m_PadRight
uint32_t m_PadRight
Padding right value in the width dimension.
Definition: Descriptors.hpp:682
armnn::DepthwiseConvolution2dDescriptor::m_PadBottom
uint32_t m_PadBottom
Padding bottom value in the height dimension.
Definition: Descriptors.hpp:686
armnn::DepthwiseConvolution2dDescriptor::m_StrideY
uint32_t m_StrideY
Stride value when proceeding through input for the height dimension.
Definition: Descriptors.hpp:690