ArmNN
 23.05
SpaceToDepthDescriptor Struct Reference

A SpaceToDepthDescriptor for the SpaceToDepthLayer. More...

#include <Descriptors.hpp>

Inheritance diagram for SpaceToDepthDescriptor:
BaseDescriptor

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

Constructor & Destructor Documentation

◆ SpaceToDepthDescriptor() [1/2]

Definition at line 1044 of file Descriptors.hpp.

1046  {}

References armnn::NHWC.

◆ SpaceToDepthDescriptor() [2/2]

SpaceToDepthDescriptor ( unsigned int  blockSize,
DataLayout  dataLayout 
)
inline

Definition at line 1048 of file Descriptors.hpp.

1049  : m_BlockSize(blockSize)
1050  , m_DataLayout(dataLayout)
1051  {}

Member Function Documentation

◆ operator==()

bool operator== ( const SpaceToDepthDescriptor rhs) const
inline

Definition at line 1053 of file Descriptors.hpp.

1054  {
1055  return m_BlockSize == rhs.m_BlockSize && m_DataLayout == rhs.m_DataLayout;
1056  }

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::SpaceToDepthDescriptor::m_DataLayout
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).
Definition: Descriptors.hpp:1062
armnn::SpaceToDepthDescriptor::m_BlockSize
unsigned int m_BlockSize
Scalar specifying the input block size. It must be >= 1.
Definition: Descriptors.hpp:1059
armnn::DataLayout::NHWC
@ NHWC
armnn::SpaceToDepthDescriptor::SpaceToDepthDescriptor
SpaceToDepthDescriptor()
Definition: Descriptors.hpp:1044