22.05
|
Linear activation object. More...
#include <NEActivationFunctionDetail.h>
Public Types | |
using | ExactType = typename wrapper::traits::neon_vector< T, S >::type |
SIMD vector type. More... | |
using | ExactTagType = typename wrapper::traits::neon_vector< T, S >::tag_type |
SIMD vector tag type. More... | |
Public Member Functions | |
linear (ActivationLayerInfo act_info) | |
Construct a Linear activation object. More... | |
void | operator() (ExactType &vval) |
Run activation function. More... | |
void | operator() (T &val) |
Run activation function. More... | |
Data Fields | |
const T | alpha |
Scalar alpha. More... | |
const T | beta |
Scalar alpha. More... | |
const ExactType | valpha |
Vector of alphas. More... | |
const ExactType | vbeta |
Vector of betas. More... | |
Linear activation object.
Definition at line 69 of file NEActivationFunctionDetail.h.
using ExactTagType = typename wrapper::traits::neon_vector<T, S>::tag_type |
SIMD vector tag type.
Definition at line 74 of file NEActivationFunctionDetail.h.
using ExactType = typename wrapper::traits::neon_vector<T, S>::type |
SIMD vector type.
Definition at line 72 of file NEActivationFunctionDetail.h.
|
inlineexplicit |
Construct a Linear activation object.
[in] | act_info | Activation layer information. |
Definition at line 80 of file NEActivationFunctionDetail.h.
References arm_compute::wrapper::vdup_n().
|
inline |
Run activation function.
[in] | vval | Vector of values. |
Definition at line 92 of file NEActivationFunctionDetail.h.
References arm_compute::wrapper::vmla().
|
inline |
Run activation function.
[in] | val | Scalar value. |
Definition at line 101 of file NEActivationFunctionDetail.h.
const T alpha |
Scalar alpha.
Definition at line 106 of file NEActivationFunctionDetail.h.
const T beta |
Scalar alpha.
Definition at line 107 of file NEActivationFunctionDetail.h.
const ExactType valpha |
Vector of alphas.
Definition at line 108 of file NEActivationFunctionDetail.h.
const ExactType vbeta |
Vector of betas.
Definition at line 109 of file NEActivationFunctionDetail.h.