Compute Library
18.05
|
Bounded 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 | |
brelu (ActivationLayerInfo act_info) | |
Construct a bounded RELU activation object. More... | |
void | operator() (ExactType &vval) |
Run activation function. More... | |
Data Fields | |
const ExactType | vzero |
Vector of zeroes. More... | |
const ExactType | valpha |
Vector of alphas. More... | |
Bounded RELU activation object.
Definition at line 90 of file NEActivationFunctionDetail.h.
using ExactTagType = typename wrapper::traits::neon_vector<T, S>::tag_type |
NEON vector tag type.
Definition at line 95 of file NEActivationFunctionDetail.h.
using ExactType = typename wrapper::traits::neon_vector<T, S>::type |
NEON vector type.
Definition at line 93 of file NEActivationFunctionDetail.h.
|
inlineexplicit |
Construct a bounded RELU activation object.
[in] | act_info | Activation layer information. |
Definition at line 101 of file NEActivationFunctionDetail.h.
References arm_compute::wrapper::vdup_n().
|
inline |
Run activation function.
[in] | vval | Vector of values. |
Definition at line 111 of file NEActivationFunctionDetail.h.
References arm_compute::wrapper::vmax(), and arm_compute::wrapper::vmin().
const ExactType valpha |
Vector of alphas.
Definition at line 119 of file NEActivationFunctionDetail.h.
const ExactType vzero |
Vector of zeroes.
Definition at line 117 of file NEActivationFunctionDetail.h.