ArmNN
 21.05
StackDescriptor Struct Reference

A StackDescriptor for the StackLayer. More...

#include <Descriptors.hpp>

Inheritance diagram for StackDescriptor:
BaseDescriptor

Public Member Functions

 StackDescriptor ()
 
 StackDescriptor (uint32_t axis, uint32_t numInputs, const TensorShape &inputShape)
 
bool operator== (const StackDescriptor &rhs) const
 

Public Attributes

uint32_t m_Axis
 0-based axis along which to stack the input tensors. More...
 
uint32_t m_NumInputs
 Number of input tensors. More...
 
TensorShape m_InputShape
 Required shape of all input tensors. More...
 

Detailed Description

A StackDescriptor for the StackLayer.

Definition at line 1032 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ StackDescriptor() [1/2]

StackDescriptor ( )
inline

Definition at line 1034 of file Descriptors.hpp.

1035  : m_Axis(0)
1036  , m_NumInputs(0)
1037  , m_InputShape()
1038  {}
uint32_t m_Axis
0-based axis along which to stack the input tensors.
TensorShape m_InputShape
Required shape of all input tensors.
uint32_t m_NumInputs
Number of input tensors.

◆ StackDescriptor() [2/2]

StackDescriptor ( uint32_t  axis,
uint32_t  numInputs,
const TensorShape inputShape 
)
inline

Definition at line 1040 of file Descriptors.hpp.

1041  : m_Axis(axis)
1042  , m_NumInputs(numInputs)
1043  , m_InputShape(inputShape)
1044  {}
uint32_t m_Axis
0-based axis along which to stack the input tensors.
TensorShape m_InputShape
Required shape of all input tensors.
uint32_t m_NumInputs
Number of input tensors.

Member Function Documentation

◆ operator==()

bool operator== ( const StackDescriptor rhs) const
inline

Definition at line 1046 of file Descriptors.hpp.

References StackDescriptor::m_Axis, StackDescriptor::m_InputShape, and StackDescriptor::m_NumInputs.

1047  {
1048  return m_Axis == rhs.m_Axis &&
1049  m_NumInputs == rhs.m_NumInputs &&
1050  m_InputShape == rhs.m_InputShape;
1051  }
uint32_t m_Axis
0-based axis along which to stack the input tensors.
TensorShape m_InputShape
Required shape of all input tensors.
uint32_t m_NumInputs
Number of input tensors.

Member Data Documentation

◆ m_Axis

◆ m_InputShape

◆ m_NumInputs


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