| AIfES 2 2.0.0

ailayer_input_default.h
Go to the documentation of this file.
1
27 #ifndef AILAYER_INPUT_DEFAULT
28 #define AILAYER_INPUT_DEFAULT
29
30 #include "basic/base/ailayer/ailayer_input.h"
31
32 #include "basic/default/aimath/aimath_f32_default.h"
33 #include "basic/default/aimath/aimath_q31_default.h"
34 #include "basic/default/aimath/aimath_q7_default.h"
35
36 #define AILAYER_INPUT_F32_A(input_dim, input_shape) {{0,},input_dim,input_shape}
37 #define AILAYER_INPUT_F32_M(input_dim, input_shape) {{0,},input_dim,input_shape}
38 #define AILAYER_INPUT_Q31_A(input_dim, input_shape) {{0,},input_dim,input_shape}
39 #define AILAYER_INPUT_Q31_M(input_dim, input_shape, input_qparams) {{0,0,0,0,0,0,0,{0,0,0,input_qparams,0}},input_dim,input_shape}
40 #define AILAYER_INPUT_Q7_A(input_dim, input_shape) {{0,},input_dim,input_shape}
41 #define AILAYER_INPUT_Q7_M(input_dim, input_shape, input_qparams) {{0,0,0,0,0,0,0,{0,0,0,input_qparams,0}},input_dim,input_shape}
42
43 typedef struct ailayer_input ailayer_input_f32_t;
44 typedef struct ailayer_input ailayer_input_q31_t;
45 typedef struct ailayer_input ailayer_input_q7_t;
46
72 ailayer_t *ailayer_input_f32_default(ailayer_input_f32_t *layer);
73
99 ailayer_t *ailayer_input_q31_default(ailayer_input_q31_t *layer);
100
144 ailayer_t *ailayer_input_q7_default(ailayer_input_q7_t *layer);
145
146 #endif // AILAYER_INPUT_DEFAULT
ailayer_input.h
Base layer implementation of the Input layer.
ailayer_input_q7_default
ailayer_t * ailayer_input_q7_default(ailayer_input_q7_t *layer)
Initializes and connect an Input layer with the Q7 default implementation.
ailayer_input_q31_default
ailayer_t * ailayer_input_q31_default(ailayer_input_q31_t *layer)
Initializes and connect an Input layer with the Q31 default implementation.
ailayer_input_f32_default
ailayer_t * ailayer_input_f32_default(ailayer_input_f32_t *layer)
Initializes and connect an Input layer with the F32 default implementation.
aimath_f32_default.h
Math functions for F32 data type, default implementation.
aimath_q31_default.h
Math functions for Q31 data type, default implementation.
aimath_q7_default.h
Math functions for Q7 data type, default implementation.
ailayer_input
General Input layer structure.
Definition: ailayer_input.h:39
ailayer
AIfES layer interface.
Definition: aifes_core.h:252