ArmNN
 22.08
ReduceDescriptor Struct Reference

A ReduceDescriptor for the REDUCE operators. More...

#include <Descriptors.hpp>

Inheritance diagram for ReduceDescriptor:
BaseDescriptor

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

Constructor & Destructor Documentation

◆ ReduceDescriptor()

ReduceDescriptor ( )
inline

Definition at line 1510 of file Descriptors.hpp.

1511  : m_KeepDims(false)
1512  , m_vAxis()
1514  {}
bool m_KeepDims
if true then output shape has no change.
ReduceOperation m_ReduceOperation
Specifies the reduction operation to execute.
std::vector< uint32_t > m_vAxis
The indices of the dimensions to reduce.

Member Function Documentation

◆ operator==()

bool operator== ( const ReduceDescriptor rhs) const
inline

Definition at line 1516 of file Descriptors.hpp.

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

1517  {
1518  return m_KeepDims == rhs.m_KeepDims &&
1519  m_vAxis == rhs.m_vAxis &&
1520  m_ReduceOperation == rhs.m_ReduceOperation;
1521  }
bool m_KeepDims
if true then output shape has no change.
ReduceOperation m_ReduceOperation
Specifies the reduction operation to execute.
std::vector< uint32_t > m_vAxis
The indices of the dimensions to reduce.

Member Data Documentation

◆ m_KeepDims

◆ m_ReduceOperation

◆ m_vAxis


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