ArmNN
 23.08
MeanDescriptor Struct Reference

A MeanDescriptor for the MeanLayer. More...

#include <Descriptors.hpp>

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

Public Member Functions

 MeanDescriptor ()
 
 MeanDescriptor (const std::vector< unsigned int > &axis, bool keepDims)
 
bool operator== (const MeanDescriptor &rhs) const
 
- Public Member Functions inherited from BaseDescriptor
virtual bool IsNull () const
 
virtual ~BaseDescriptor ()=default
 

Public Attributes

std::vector< unsigned int > m_Axis
 Values for the dimensions to reduce. More...
 
bool m_KeepDims
 Enable/disable keep dimensions. If true, then the reduced dimensions that are of length 1 are kept. More...
 

Detailed Description

A MeanDescriptor for the MeanLayer.

Definition at line 1151 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ MeanDescriptor() [1/2]

MeanDescriptor ( )
inline

Definition at line 1153 of file Descriptors.hpp.

1154  : m_Axis()
1155  , m_KeepDims(false)
1156  {}

◆ MeanDescriptor() [2/2]

MeanDescriptor ( const std::vector< unsigned int > &  axis,
bool  keepDims 
)
inline

Definition at line 1158 of file Descriptors.hpp.

1159  : m_Axis(axis)
1160  , m_KeepDims(keepDims)
1161  {}

Member Function Documentation

◆ operator==()

bool operator== ( const MeanDescriptor rhs) const
inline

Definition at line 1163 of file Descriptors.hpp.

1164  {
1165  return m_Axis == rhs.m_Axis && m_KeepDims == rhs.m_KeepDims;
1166  }

References MeanDescriptor::m_Axis, and MeanDescriptor::m_KeepDims.

Member Data Documentation

◆ m_Axis

◆ m_KeepDims

bool m_KeepDims

Enable/disable keep dimensions. If true, then the reduced dimensions that are of length 1 are kept.

Definition at line 1171 of file Descriptors.hpp.

Referenced by MeanLayer::Clone(), MeanLayer::CreateWorkload(), MeanLayer::InferOutputShapes(), RefLayerSupport::IsMeanSupported(), MeanDescriptor::operator==(), StringifyLayerParameters< MeanDescriptor >::Serialize(), and MeanQueueDescriptor::Validate().


The documentation for this struct was generated from the following file:
armnn::MeanDescriptor::m_KeepDims
bool m_KeepDims
Enable/disable keep dimensions. If true, then the reduced dimensions that are of length 1 are kept.
Definition: Descriptors.hpp:1171
armnn::MeanDescriptor::m_Axis
std::vector< unsigned int > m_Axis
Values for the dimensions to reduce.
Definition: Descriptors.hpp:1169