24.02.1
|
Logistic 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 | |
logistic (ActivationLayerInfo act_info) | |
Construct a Logistic activation object. More... | |
void | operator() (ExactType &vval) |
Run activation function. More... | |
void | operator() (T &val) |
Run activation function. More... | |
Data Fields | |
const ExactType | vone |
Vector of ones. More... | |
Logistic activation object.
Definition at line 151 of file NEActivationFunctionDetail.h.
using ExactTagType = typename wrapper::traits::neon_vector<T, S>::tag_type |
SIMD vector tag type.
Definition at line 156 of file NEActivationFunctionDetail.h.
using ExactType = typename wrapper::traits::neon_vector<T, S>::type |
SIMD vector type.
Definition at line 154 of file NEActivationFunctionDetail.h.
|
inlineexplicit |
Construct a Logistic activation object.
[in] | act_info | Activation layer information. |
Definition at line 162 of file NEActivationFunctionDetail.h.
|
inline |
Run activation function.
[in] | vval | Vector of values. |
Definition at line 171 of file NEActivationFunctionDetail.h.
References arm_compute::wrapper::vadd(), arm_compute::wrapper::vexpq(), arm_compute::wrapper::vinv(), arm_compute::wrapper::vneg(), and logistic< T, S >::vone.
|
inline |
Run activation function.
[in] | val | Scalar value. |
Definition at line 180 of file NEActivationFunctionDetail.h.
const ExactType vone |
Vector of ones.
Definition at line 186 of file NEActivationFunctionDetail.h.
Referenced by logistic< T, S >::operator()().