ArmNN
 21.02
MeanDescriptor Struct Reference

A MeanDescriptor for the MeanLayer. More...

#include <Descriptors.hpp>

Inheritance diagram for MeanDescriptor:
BaseDescriptor

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ MeanDescriptor() [1/2]

MeanDescriptor ( )
inline

Definition at line 953 of file Descriptors.hpp.

954  : m_Axis()
955  , m_KeepDims(false)
956  {}
std::vector< unsigned int > m_Axis
Values for the dimensions to reduce.
bool m_KeepDims
Enable/disable keep dimensions. If true, then the reduced dimensions that are of length 1 are kept...

◆ MeanDescriptor() [2/2]

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

Definition at line 958 of file Descriptors.hpp.

959  : m_Axis(axis)
960  , m_KeepDims(keepDims)
961  {}
std::vector< unsigned int > m_Axis
Values for the dimensions to reduce.
bool m_KeepDims
Enable/disable keep dimensions. If true, then the reduced dimensions that are of length 1 are kept...

Member Function Documentation

◆ operator==()

bool operator== ( const MeanDescriptor rhs) const
inline

Definition at line 963 of file Descriptors.hpp.

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

964  {
965  return m_Axis == rhs.m_Axis && m_KeepDims == rhs.m_KeepDims;
966  }
std::vector< unsigned int > m_Axis
Values for the dimensions to reduce.
bool m_KeepDims
Enable/disable keep dimensions. If true, then the reduced dimensions that are of length 1 are kept...

Member Data Documentation

◆ m_Axis

◆ m_KeepDims


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