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

A ElementwiseUnaryDescriptor for the ElementwiseUnaryLayer. More...

#include <Descriptors.hpp>

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

Public Member Functions

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

Public Attributes

UnaryOperation m_Operation
 Specifies the elementwiseUnary operation to execute.

Detailed Description

Constructor & Destructor Documentation

◆ ElementwiseUnaryDescriptor() [1/2]

Definition at line 131 of file Descriptors.hpp.

132 : ElementwiseUnaryDescriptor(UnaryOperation::Abs)
133 {}

References armnn::Abs, and ElementwiseUnaryDescriptor().

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

◆ ElementwiseUnaryDescriptor() [2/2]

Definition at line 135 of file Descriptors.hpp.

136 : m_Operation(operation)
137 {}

References m_Operation.

Member Function Documentation

◆ operator==()

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

Definition at line 139 of file Descriptors.hpp.

140 {
141 return m_Operation == rhs.m_Operation;
142 }

References ElementwiseUnaryDescriptor(), and m_Operation.

Member Data Documentation

◆ m_Operation


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