25 #ifndef AILAYER_RESHAPE_DEFAULT_H
26 #define AILAYER_RESHAPE_DEFAULT_H
35 #define AILAYER_RESHAPE_F32_M(output_dim, infer_axis, output_shape) {{0,},output_dim,infer_axis,output_shape}
36 #define AILAYER_RESHAPE_F32_A(output_dim, infer_axis, output_shape) {{0,},output_dim,infer_axis,output_shape}
37 #define AILAYER_RESHAPE_Q31_M(output_dim, infer_axis, output_shape) {{0,},output_dim,infer_axis,output_shape}
38 #define AILAYER_RESHAPE_Q31_A(output_dim, infer_axis, output_shape) {{0,},output_dim,infer_axis,output_shape}
39 #define AILAYER_RESHAPE_Q7_M(output_dim, infer_axis, output_shape) {{0,},output_dim,infer_axis,output_shape}
40 #define AILAYER_RESHAPE_Q7_A(output_dim, infer_axis, output_shape) {{0,},output_dim,infer_axis,output_shape}
42 #define AILAYER_FLATTEN_F32_M() {{{0,},},}
43 #define AILAYER_FLATTEN_F32_A() {{{0,},},}
44 #define AILAYER_FLATTEN_Q31_M() {{{0,},},}
45 #define AILAYER_FLATTEN_Q31_A() {{{0,},},}
46 #define AILAYER_FLATTEN_Q7_M() {{{0,},},}
47 #define AILAYER_FLATTEN_Q7_A() {{{0,},},}
Base layer implementation of the Reshape layer.
ailayer_t * ailayer_flatten_q31_default(ailayer_flatten_q31_t *layer, ailayer_t *input_layer)
Initializes and connect a Flatten layer with the F32 default implementation.
ailayer_t * ailayer_flatten_f32_default(ailayer_flatten_f32_t *layer, ailayer_t *input_layer)
Initializes and connect a Flatten layer with the F32 default implementation.
ailayer_t * ailayer_reshape_f32_default(ailayer_reshape_f32_t *layer, ailayer_t *input_layer)
Initializes and connect a Reshape layer with the F32 default implementation.
ailayer_t * ailayer_reshape_q7_default(ailayer_reshape_q7_t *layer, ailayer_t *input_layer)
Initializes and connect a Reshape layer with the Q7 default implementation.
ailayer_t * ailayer_flatten_q7_default(ailayer_flatten_q7_t *layer, ailayer_t *input_layer)
Initializes and connect a Flatten layer with the F32 default implementation.
ailayer_t * ailayer_reshape_q31_default(ailayer_reshape_q31_t *layer, ailayer_t *input_layer)
Initializes and connect a Reshape layer with the Q31 default implementation.
Math functions for F32 data type, CNN-specific 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.
Structure of the Flatten layer, based on the reshape layer .
Definition: ailayer_reshape.h:78
General layer structure.
Definition: ailayer_reshape.h:42
AIfES layer interface.
Definition: aifes_core.h:252