ArmNN
 24.08
ReduceDescriptor Struct Reference

A ReduceDescriptor for the REDUCE operators. More...

#include <Descriptors.hpp>

Inheritance diagram for ReduceDescriptor:
[legend]
Collaboration diagram for ReduceDescriptor:
[legend]

Public Member Functions

 ReduceDescriptor ()
 
bool operator== (const ReduceDescriptor &rhs) const
 
- Public Member Functions inherited from BaseDescriptor
virtual bool IsNull () const
 
virtual ~BaseDescriptor ()=default
 

Public Attributes

bool m_KeepDims
 if true then output shape has no change. More...
 
std::vector< uint32_t > m_vAxis
 The indices of the dimensions to reduce. More...
 
ReduceOperation m_ReduceOperation
 Specifies the reduction operation to execute. More...
 

Detailed Description

A ReduceDescriptor for the REDUCE operators.

Definition at line 1538 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ ReduceDescriptor()

ReduceDescriptor ( )
inline

Definition at line 1540 of file Descriptors.hpp.

1541  : m_KeepDims(false)
1542  , m_vAxis()
1544  {}

References armnn::Sum.

Member Function Documentation

◆ operator==()

bool operator== ( const ReduceDescriptor rhs) const
inline

Definition at line 1546 of file Descriptors.hpp.

1547  {
1548  return m_KeepDims == rhs.m_KeepDims &&
1549  m_vAxis == rhs.m_vAxis &&
1550  m_ReduceOperation == rhs.m_ReduceOperation;
1551  }

References ReduceDescriptor::m_KeepDims, ReduceDescriptor::m_ReduceOperation, and ReduceDescriptor::m_vAxis.

Member Data Documentation

◆ m_KeepDims

◆ m_ReduceOperation

◆ m_vAxis


The documentation for this struct was generated from the following file:
armnn::ReduceDescriptor::m_ReduceOperation
ReduceOperation m_ReduceOperation
Specifies the reduction operation to execute.
Definition: Descriptors.hpp:1558
armnn::ReduceOperation::Sum
@ Sum
armnn::ReduceDescriptor::m_KeepDims
bool m_KeepDims
if true then output shape has no change.
Definition: Descriptors.hpp:1554
armnn::ReduceDescriptor::m_vAxis
std::vector< uint32_t > m_vAxis
The indices of the dimensions to reduce.
Definition: Descriptors.hpp:1556