ArmNN
 20.02
SpaceToDepthDescriptor Struct Reference

A SpaceToDepthDescriptor for the SpaceToDepthLayer. More...

#include <Descriptors.hpp>

Public Member Functions

 SpaceToDepthDescriptor ()
 
 SpaceToDepthDescriptor (unsigned int blockSize, DataLayout dataLayout)
 
bool operator== (const SpaceToDepthDescriptor &rhs) const
 

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

Constructor & Destructor Documentation

◆ SpaceToDepthDescriptor() [1/2]

◆ SpaceToDepthDescriptor() [2/2]

SpaceToDepthDescriptor ( unsigned int  blockSize,
DataLayout  dataLayout 
)
inline

Definition at line 816 of file Descriptors.hpp.

817  : m_BlockSize(blockSize)
818  , m_DataLayout(dataLayout)
819  {}
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 821 of file Descriptors.hpp.

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

822  {
823  return m_BlockSize == rhs.m_BlockSize && m_DataLayout == rhs.m_DataLayout;
824  }
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: