ArmNN
 23.05
ElementwiseUnaryDescriptor Struct Reference

A ElementwiseUnaryDescriptor for the ElementwiseUnaryLayer. More...

#include <Descriptors.hpp>

Inheritance diagram for ElementwiseUnaryDescriptor:
BaseDescriptor

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. More...
 

Detailed Description

Constructor & Destructor Documentation

◆ ElementwiseUnaryDescriptor() [1/2]

Definition at line 131 of file Descriptors.hpp.

References armnn::Abs.

◆ ElementwiseUnaryDescriptor() [2/2]

Definition at line 135 of file Descriptors.hpp.

136  : m_Operation(operation)
137  {}

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::m_Operation.

Member Data Documentation

◆ m_Operation


The documentation for this struct was generated from the following file:
armnn::ElementwiseUnaryDescriptor::ElementwiseUnaryDescriptor
ElementwiseUnaryDescriptor()
Definition: Descriptors.hpp:131
armnn::ElementwiseUnaryDescriptor::m_Operation
UnaryOperation m_Operation
Specifies the elementwiseUnary operation to execute.
Definition: Descriptors.hpp:145
armnn::UnaryOperation::Abs
@ Abs