ArmNN
 22.11
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 1015 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ SpaceToDepthDescriptor() [1/2]

◆ SpaceToDepthDescriptor() [2/2]

SpaceToDepthDescriptor ( unsigned int  blockSize,
DataLayout  dataLayout 
)
inline

Definition at line 1021 of file Descriptors.hpp.

1022  : m_BlockSize(blockSize)
1023  , m_DataLayout(dataLayout)
1024  {}
unsigned int m_BlockSize
Scalar specifying the input block size. It must be >= 1.
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).

Member Function Documentation

◆ operator==()

bool operator== ( const SpaceToDepthDescriptor rhs) const
inline

Definition at line 1026 of file Descriptors.hpp.

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

1027  {
1028  return m_BlockSize == rhs.m_BlockSize && m_DataLayout == rhs.m_DataLayout;
1029  }
unsigned int m_BlockSize
Scalar specifying the input block size. It must be >= 1.
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).

Member Data Documentation

◆ m_BlockSize

◆ m_DataLayout


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