ArmNN
 20.02
ActivationDescriptor Struct Reference

An ActivationDescriptor for the ActivationLayer. More...

#include <Descriptors.hpp>

Public Member Functions

 ActivationDescriptor ()
 
bool operator== (const ActivationDescriptor &rhs) const
 

Public Attributes

ActivationFunction m_Function
 The activation function to use (Sigmoid, TanH, Linear, ReLu, BoundedReLu, SoftReLu, LeakyReLu, Abs, Sqrt, Square). More...
 
float m_A
 Alpha upper bound value used by the activation functions. (BoundedReLu, Linear, TanH). More...
 
float m_B
 Beta lower bound value used by the activation functions. (BoundedReLu, Linear, TanH). More...
 

Detailed Description

An ActivationDescriptor for the ActivationLayer.

Definition at line 20 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ ActivationDescriptor()

Definition at line 22 of file Descriptors.hpp.

24  , m_A(0)
25  , m_B(0)
26  {}
float m_A
Alpha upper bound value used by the activation functions. (BoundedReLu, Linear, TanH).
Definition: Descriptors.hpp:37
float m_B
Beta lower bound value used by the activation functions. (BoundedReLu, Linear, TanH).
Definition: Descriptors.hpp:39
ActivationFunction m_Function
The activation function to use (Sigmoid, TanH, Linear, ReLu, BoundedReLu, SoftReLu, LeakyReLu, Abs, Sqrt, Square).
Definition: Descriptors.hpp:35

Member Function Documentation

◆ operator==()

bool operator== ( const ActivationDescriptor rhs) const
inline

Definition at line 28 of file Descriptors.hpp.

References ActivationDescriptor::m_A, ActivationDescriptor::m_B, and ActivationDescriptor::m_Function.

29  {
30  return m_Function == rhs.m_Function && m_A == rhs.m_B && m_B == rhs.m_B;
31  }
float m_A
Alpha upper bound value used by the activation functions. (BoundedReLu, Linear, TanH).
Definition: Descriptors.hpp:37
float m_B
Beta lower bound value used by the activation functions. (BoundedReLu, Linear, TanH).
Definition: Descriptors.hpp:39
ActivationFunction m_Function
The activation function to use (Sigmoid, TanH, Linear, ReLu, BoundedReLu, SoftReLu, LeakyReLu, Abs, Sqrt, Square).
Definition: Descriptors.hpp:35

Member Data Documentation

◆ m_A

◆ m_B

◆ m_Function


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