ArmNN
 25.11
Loading...
Searching...
No Matches
ArgMinMaxDescriptor Struct Reference

An ArgMinMaxDescriptor for ArgMinMaxLayer. More...

#include <Descriptors.hpp>

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

Public Member Functions

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

Public Attributes

ArgMinMaxFunction m_Function
 Specify if the function is to find Min or Max.
int m_Axis
 Axis to reduce across the input tensor.
armnn::DataType m_Output_Type
 Deprecated and will be removed in future release.

Detailed Description

An ArgMinMaxDescriptor for ArgMinMaxLayer.

Definition at line 67 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ ArgMinMaxDescriptor()

ArgMinMaxDescriptor ( )
inline

Definition at line 69 of file Descriptors.hpp.

70 : m_Function(ArgMinMaxFunction::Min)
71 , m_Axis(-1)
72 , m_Output_Type(armnn::DataType::Signed32)
73 {}

References m_Axis, m_Function, m_Output_Type, armnn::Min, and armnn::Signed32.

Referenced by operator==().

Member Function Documentation

◆ operator==()

bool operator== ( const ArgMinMaxDescriptor & rhs) const
inline

Definition at line 75 of file Descriptors.hpp.

76 {
77 return m_Function == rhs.m_Function && m_Axis == rhs.m_Axis && m_Output_Type == rhs.m_Output_Type;
78 }

References ArgMinMaxDescriptor(), m_Axis, m_Function, and m_Output_Type.

Member Data Documentation

◆ m_Axis

int m_Axis

Axis to reduce across the input tensor.

Definition at line 83 of file Descriptors.hpp.

Referenced by ArgMinMaxDescriptor(), armnn::ClArgMinMaxWorkloadValidate(), armnn::NeonArgMinMaxWorkloadValidate(), and operator==().

◆ m_Function

ArgMinMaxFunction m_Function

Specify if the function is to find Min or Max.

Definition at line 81 of file Descriptors.hpp.

Referenced by ArgMinMaxDescriptor(), armnn::ClArgMinMaxWorkloadValidate(), armnn::NeonArgMinMaxWorkloadValidate(), and operator==().

◆ m_Output_Type

armnn::DataType m_Output_Type

Deprecated and will be removed in future release.

Definition at line 85 of file Descriptors.hpp.

Referenced by ArgMinMaxDescriptor(), and operator==().


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