Compute Library
18.05
|
#include "helpers.h"
Go to the source code of this file.
Macros | |
#define | TYPE VEC_DATA_TYPE(DATA_TYPE, VEC_SIZE) |
#define | ACTIVATION_OP2(op, x) op##_op(x) |
#define | ACTIVATION_OP(op, x) ACTIVATION_OP2(op, x) |
#define | PERFORM_ACTIVATION_QA8(act, data) |
Functions | |
DATA_TYPEVEC_SIZE | relu_op (DATA_TYPEVEC_SIZE x) |
DATA_TYPEVEC_SIZE | brelu_op (DATA_TYPEVEC_SIZE x) |
DATA_TYPEVEC_SIZE | lu_brelu_op (DATA_TYPEVEC_SIZE x) |
#define ACTIVATION_OP | ( | op, | |
x | |||
) | ACTIVATION_OP2(op, x) |
Definition at line 45 of file activation_layer_qa8.cl.
#define ACTIVATION_OP2 | ( | op, | |
x | |||
) | op##_op(x) |
Definition at line 44 of file activation_layer_qa8.cl.
#define PERFORM_ACTIVATION_QA8 | ( | act, | |
data | |||
) |
Definition at line 59 of file activation_layer_qa8.cl.
#define TYPE VEC_DATA_TYPE(DATA_TYPE, VEC_SIZE) |
Definition at line 26 of file activation_layer_qa8.cl.
Referenced by brelu_op(), lu_brelu_op(), and relu_op().
|
inline |
Definition at line 34 of file activation_layer_qa8.cl.
References arm_compute::test::fixed_point_arithmetic::detail::max(), arm_compute::test::fixed_point_arithmetic::detail::min(), and TYPE.
|
inline |
Definition at line 39 of file activation_layer_qa8.cl.
References arm_compute::test::fixed_point_arithmetic::detail::max(), arm_compute::test::fixed_point_arithmetic::detail::min(), and TYPE.
|
inline |
Definition at line 29 of file activation_layer_qa8.cl.
References arm_compute::test::fixed_point_arithmetic::detail::max(), and TYPE.