ArmNN
 25.11
Loading...
Searching...
No Matches
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.
DataLayout m_DataLayout
 The data layout to be used (NCHW, NHWC).

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.

1078 : SpaceToDepthDescriptor(1u, DataLayout::NHWC)
1079 {}

References armnn::NHWC, and SpaceToDepthDescriptor().

Referenced by operator==(), and SpaceToDepthDescriptor().

◆ 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 {}

References m_BlockSize, and m_DataLayout.

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 m_BlockSize, m_DataLayout, and SpaceToDepthDescriptor().

Member Data Documentation

◆ m_BlockSize

◆ m_DataLayout


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