24.02.1
|
Square 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 | |
square (ActivationLayerInfo act_info) | |
Construct a Square activation object. More... | |
void | operator() (ExactType &vval) |
Run activation function. More... | |
void | operator() (T &val) |
Run activation function. More... | |
Square activation object.
Definition at line 115 of file NEActivationFunctionDetail.h.
using ExactTagType = typename wrapper::traits::neon_vector<T, S>::tag_type |
SIMD vector tag type.
Definition at line 120 of file NEActivationFunctionDetail.h.
using ExactType = typename wrapper::traits::neon_vector<T, S>::type |
SIMD vector type.
Definition at line 118 of file NEActivationFunctionDetail.h.
|
inlineexplicit |
Construct a Square activation object.
[in] | act_info | Activation layer information. |
Definition at line 126 of file NEActivationFunctionDetail.h.
References arm_compute::test::validation::act_info, and ARM_COMPUTE_UNUSED.
|
inline |
Run activation function.
[in] | vval | Vector of values. |
Definition at line 135 of file NEActivationFunctionDetail.h.
References arm_compute::wrapper::vmul().
|
inline |
Run activation function.
[in] | val | Scalar value. |
Definition at line 144 of file NEActivationFunctionDetail.h.