ArmNN
 20.08
SpaceToBatchNdDescriptor Struct Reference

A SpaceToBatchNdDescriptor for the SpaceToBatchNdLayer. More...

#include <Descriptors.hpp>

Public Member Functions

 SpaceToBatchNdDescriptor ()
 
 SpaceToBatchNdDescriptor (const std::vector< unsigned int > &blockShape, const std::vector< std::pair< unsigned int, unsigned int >> &padList)
 
bool operator== (const SpaceToBatchNdDescriptor &rhs) const
 

Public Attributes

std::vector< unsigned int > m_BlockShape
 Block shape value. More...
 
std::vector< std::pair< unsigned int, unsigned int > > m_PadList
 Specifies the padding values for the input dimension: heightPad{top, bottom} widthPad{left, right}. More...
 
DataLayout m_DataLayout
 The data layout to be used (NCHW, NHWC). More...
 

Detailed Description

A SpaceToBatchNdDescriptor for the SpaceToBatchNdLayer.

Definition at line 835 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ SpaceToBatchNdDescriptor() [1/2]

Definition at line 837 of file Descriptors.hpp.

References armnn::NCHW.

838  : m_BlockShape({1, 1})
839  , m_PadList({{0, 0}, {0, 0}})
841  {}
std::vector< std::pair< unsigned int, unsigned int > > m_PadList
Specifies the padding values for the input dimension: heightPad{top, bottom} widthPad{left, right}.
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).
std::vector< unsigned int > m_BlockShape
Block shape value.

◆ SpaceToBatchNdDescriptor() [2/2]

SpaceToBatchNdDescriptor ( const std::vector< unsigned int > &  blockShape,
const std::vector< std::pair< unsigned int, unsigned int >> &  padList 
)
inline

Definition at line 843 of file Descriptors.hpp.

845  : m_BlockShape(blockShape)
846  , m_PadList(padList)
848  {}
std::vector< std::pair< unsigned int, unsigned int > > m_PadList
Specifies the padding values for the input dimension: heightPad{top, bottom} widthPad{left, right}.
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).
std::vector< unsigned int > m_BlockShape
Block shape value.

Member Function Documentation

◆ operator==()

bool operator== ( const SpaceToBatchNdDescriptor rhs) const
inline

Definition at line 850 of file Descriptors.hpp.

References SpaceToBatchNdDescriptor::m_BlockShape, SpaceToBatchNdDescriptor::m_DataLayout, and SpaceToBatchNdDescriptor::m_PadList.

851  {
852  return m_BlockShape == rhs.m_BlockShape &&
853  m_PadList == rhs.m_PadList &&
854  m_DataLayout == rhs.m_DataLayout;
855  }
std::vector< std::pair< unsigned int, unsigned int > > m_PadList
Specifies the padding values for the input dimension: heightPad{top, bottom} widthPad{left, right}.
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).
std::vector< unsigned int > m_BlockShape
Block shape value.

Member Data Documentation

◆ m_BlockShape

◆ m_DataLayout

◆ m_PadList


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