ArmNN
 24.08
SpaceToDepthDescriptor Struct Reference

A SpaceToDepthDescriptor for the SpaceToDepthLayer. More...

#include <Descriptors.hpp>

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

Public Member Functions

 SpaceToDepthDescriptor ()
 
 SpaceToDepthDescriptor (unsigned int blockSize, DataLayout dataLayout)
 
bool operator== (const SpaceToDepthDescriptor &rhs) const
 
- Public Member Functions inherited from BaseDescriptor
virtual bool IsNull () const
 
virtual ~BaseDescriptor ()=default
 

Public Attributes

unsigned int m_BlockSize
 Scalar specifying the input block size. It must be >= 1. More...
 
DataLayout m_DataLayout
 The data layout to be used (NCHW, NHWC). More...
 

Detailed Description

A SpaceToDepthDescriptor for the SpaceToDepthLayer.

Definition at line 1075 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ SpaceToDepthDescriptor() [1/2]

Definition at line 1077 of file Descriptors.hpp.

1079  {}

References armnn::NHWC.

◆ SpaceToDepthDescriptor() [2/2]

SpaceToDepthDescriptor ( unsigned int  blockSize,
DataLayout  dataLayout 
)
inline

Definition at line 1081 of file Descriptors.hpp.

1082  : m_BlockSize(blockSize)
1083  , m_DataLayout(dataLayout)
1084  {}

Member Function Documentation

◆ operator==()

bool operator== ( const SpaceToDepthDescriptor rhs) const
inline

Definition at line 1086 of file Descriptors.hpp.

1087  {
1088  return m_BlockSize == rhs.m_BlockSize && m_DataLayout == rhs.m_DataLayout;
1089  }

References SpaceToDepthDescriptor::m_BlockSize, and SpaceToDepthDescriptor::m_DataLayout.

Member Data Documentation

◆ m_BlockSize

◆ m_DataLayout


The documentation for this struct was generated from the following file:
armnn::DataLayout::NHWC
@ NHWC
armnn::SpaceToDepthDescriptor::SpaceToDepthDescriptor
SpaceToDepthDescriptor()
Definition: Descriptors.hpp:1077
armnn::SpaceToDepthDescriptor::m_BlockSize
unsigned int m_BlockSize
Scalar specifying the input block size. It must be >= 1.
Definition: Descriptors.hpp:1092
armnn::SpaceToDepthDescriptor::m_DataLayout
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).
Definition: Descriptors.hpp:1095