24 #ifndef __ARM_COMPUTE_DETAIL_NEACTIVATION_FUNCTION_DETAIL_H__ 25 #define __ARM_COMPUTE_DETAIL_NEACTIVATION_FUNCTION_DETAIL_H__ 34 template <
typename T,
int S>
58 template <
typename T,
int S>
89 template <
typename T,
int S>
122 template <
typename T,
int S>
typename wrapper::traits::neon_vector< T, S >::type ExactType
NEON vector type.
typename wrapper::traits::neon_vector< T, S >::tag_type ExactTagType
NEON vector tag type.
typename wrapper::traits::neon_vector< T, S >::type ExactType
NEON vector type.
const ExactType valpha
Vector of alphas.
brelu(ActivationLayerInfo act_info)
Construct a bounded RELU activation object.
Bounded RELU activation object.
const ExactType vzero
Vector of zeroes.
void operator()(ExactType &vval)
Run activation function.
Activation Layer Information class.
This file contains all available output stages for GEMMLowp on OpenCL.
lubrelu(ActivationLayerInfo act_info)
Construct a lower-upper bounded RELU activation object.
dummy(ActivationLayerInfo act_info)
Construct a dummy activation object.
relu(ActivationLayerInfo act_info)
Construct a RELU activation object.
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
void operator()(ExactType &vval)
Run activation function.
Create the appropriate NEON vector given its type and size.
const ExactType vzero
Vector of zeroes.
uint8x8_t vmin(const uint8x8_t &a, const uint8x8_t &b)
typename wrapper::traits::neon_vector< T, S >::tag_type ExactTagType
NEON vector tag type.
const ExactType vbeta
Vector of betas.
void operator()(ExactType &vval)
Run activation function.
const ExactType valpha
Vector of alphas.
Lower-Upper Bounded RELU activation object.
typename wrapper::traits::neon_vector< T, S >::type ExactType
NEON vector type.
typename wrapper::traits::neon_vector< T, S >::type ExactType
NEON vector type.
void operator()(ExactType &vval)
Run activation function.
uint8x8_t vdup_n(uint8_t value, traits::vector_64_tag)
uint8x8_t vmax(const uint8x8_t &a, const uint8x8_t &b)
typename wrapper::traits::neon_vector< T, S >::tag_type ExactTagType
NEON vector tag type.