Compute Library
18.05
|
RELU activation object. More...
#include <NEActivationFunctionDetail.h>
Public Types | |
using | ExactType = typename wrapper::traits::neon_vector< T, S >::type |
NEON vector type. More... | |
using | ExactTagType = typename wrapper::traits::neon_vector< T, S >::tag_type |
NEON vector tag type. More... | |
Public Member Functions | |
relu (ActivationLayerInfo act_info) | |
Construct a RELU activation object. More... | |
void | operator() (ExactType &vval) |
Run activation function. More... | |
Data Fields | |
const ExactType | vzero |
Vector of zeroes. More... | |
RELU activation object.
Definition at line 59 of file NEActivationFunctionDetail.h.
using ExactTagType = typename wrapper::traits::neon_vector<T, S>::tag_type |
NEON vector tag type.
Definition at line 64 of file NEActivationFunctionDetail.h.
using ExactType = typename wrapper::traits::neon_vector<T, S>::type |
NEON vector type.
Definition at line 62 of file NEActivationFunctionDetail.h.
|
inlineexplicit |
Construct a RELU activation object.
[in] | act_info | Activation layer information. |
Definition at line 70 of file NEActivationFunctionDetail.h.
References ARM_COMPUTE_UNUSED.
|
inline |
Run activation function.
[in] | vval | Vector of values. |
Definition at line 80 of file NEActivationFunctionDetail.h.
References arm_compute::wrapper::vmax().
const ExactType vzero |
Vector of zeroes.
Definition at line 86 of file NEActivationFunctionDetail.h.