ArmNN
 24.08
ComparisonDescriptor Struct Reference

A ComparisonDescriptor for the ComparisonLayer. More...

#include <Descriptors.hpp>

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

Public Member Functions

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

Public Attributes

ComparisonOperation m_Operation
 Specifies the comparison operation to execute. More...
 

Detailed Description

A ComparisonDescriptor for the ComparisonLayer.

Definition at line 89 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ ComparisonDescriptor() [1/2]

Definition at line 91 of file Descriptors.hpp.

References armnn::Equal.

◆ ComparisonDescriptor() [2/2]

Definition at line 95 of file Descriptors.hpp.

96  : m_Operation(operation)
97  {}

Member Function Documentation

◆ operator==()

bool operator== ( const ComparisonDescriptor rhs) const
inline

Definition at line 99 of file Descriptors.hpp.

100  {
101  return m_Operation == rhs.m_Operation;
102  }

References ComparisonDescriptor::m_Operation.

Member Data Documentation

◆ m_Operation

ComparisonOperation m_Operation

Specifies the comparison operation to execute.

Definition at line 105 of file Descriptors.hpp.

Referenced by armnn::ConvertComparisonOperationToAcl(), ComparisonDescriptor::operator==(), and StringifyLayerParameters< ComparisonDescriptor >::Serialize().


The documentation for this struct was generated from the following file:
armnn::ComparisonDescriptor::ComparisonDescriptor
ComparisonDescriptor()
Definition: Descriptors.hpp:91
armnn::ComparisonDescriptor::m_Operation
ComparisonOperation m_Operation
Specifies the comparison operation to execute.
Definition: Descriptors.hpp:105
armnn::ComparisonOperation::Equal
@ Equal