AIfES 2 2.0.0
ailayer_softmax_default.h
Go to the documentation of this file.
1
29#ifndef AILAYER_SOFTMAX_DEFAULT
30#define AILAYER_SOFTMAX_DEFAULT
31
33
37
38#define AILAYER_SOFTMAX_F32_M() {{0,}}
39#define AILAYER_SOFTMAX_F32_A() {{0,}}
40#define AILAYER_SOFTMAX_Q31_M() {{0,}}
41#define AILAYER_SOFTMAX_Q31_A() {{0,}}
42#define AILAYER_SOFTMAX_Q7_M() {{0,}}
43#define AILAYER_SOFTMAX_Q7_A() {{0,}}
44
48
70
95
120
130
140
141#endif // AILAYER_SOFTMAX_DEFAULT
Base layer implementation of the Softmax activation layer.
void ailayer_softmax_calc_result_tensor_params_q31_default(ailayer_t *self)
Calculate and set the quantization parameters for the result tensor of the softmax Q31 default imple...
ailayer_t * ailayer_softmax_q31_default(ailayer_softmax_q31_t *layer, ailayer_t *input_layer)
Initializes and connects an Softmax layer with the Q31 default implementation.
ailayer_t * ailayer_softmax_f32_default(ailayer_softmax_f32_t *layer, ailayer_t *input_layer)
Initializes and connect an Softmax layer with the F32 default implementation.
void ailayer_softmax_calc_result_tensor_params_q7_default(ailayer_t *self)
Calculate and set the quantization parameters for the result tensor of the softmax Q7 default implem...
ailayer_t * ailayer_softmax_q7_default(ailayer_softmax_q7_t *layer, ailayer_t *input_layer)
Initializes and connects an Softmax layer with the Q7 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 Softmax layer struct.
Definition: ailayer_softmax.h:54
AIfES layer interface.
Definition: aifes_core.h:252