27 #ifndef AILAYER_RELU_DEFAULT
28 #define AILAYER_RELU_DEFAULT
36 #define AILAYER_RELU_F32_M() {{0,}}
37 #define AILAYER_RELU_F32_A() {{0,}}
38 #define AILAYER_RELU_Q31_M() {{0,}}
39 #define AILAYER_RELU_Q31_A() {{0,}}
40 #define AILAYER_RELU_Q7_M() {{0,}}
41 #define AILAYER_RELU_Q7_A() {{0,}}
Base layer implementation of the ReLU activation layer.
ailayer_t * ailayer_relu_q31_default(ailayer_relu_q31_t *layer, ailayer_t *input_layer)
Initializes and connect a ReLU layer with the Q31 default implementation.
void ailayer_relu_calc_result_tensor_params_q31_default(ailayer_t *self)
Calculate and set the quantization parameters for the result tensor of the ReLU Q31 default implemen...
ailayer_t * ailayer_relu_q7_default(ailayer_relu_q7_t *layer, ailayer_t *input_layer)
Initializes and connect a ReLU layer with the Q7 default implementation.
void ailayer_relu_calc_result_tensor_params_q7_default(ailayer_t *self)
Calculate and set the quantization parameters for the result tensor of the ReLU Q7 default implement...
ailayer_t * ailayer_relu_f32_default(ailayer_relu_f32_t *layer, ailayer_t *input_layer)
Initializes and connect a ReLU layer with the F32 default implementation.
Math functions for F32 data type, default implementation.
Math functions for Q31 data type, default implementation.
Math functions for Q7 data type, default implementation.
General ReLU layer struct.
Definition: ailayer_relu.h:51
AIfES layer interface.
Definition: aifes_core.h:252