AIfES 2
2.0.0
|
Default implementation of the Reshape layer . More...
Go to the source code of this file.
Typedefs | |
typedef struct ailayer_reshape | ailayer_reshape_f32_t |
typedef struct ailayer_reshape | ailayer_reshape_q31_t |
typedef struct ailayer_reshape | ailayer_reshape_q7_t |
typedef struct ailayer_flatten | ailayer_flatten_f32_t |
typedef struct ailayer_flatten | ailayer_flatten_q31_t |
typedef struct ailayer_flatten | ailayer_flatten_q7_t |
Functions | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
Default implementation of the Reshape layer .
Hardware independent implementations of the Reshape layer in F32 , Q31 and Q7 data-type. For more information about the Reshape layer refer to ailayer_reshape.h.
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.
Example: Create the layer structure:
or
Example: Initialize and connect the layer:
*layer | The layer structure to initialize. |
*input_layer | The prior 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.
Example: Create the layer structure:
or
Example: Initialize and connect the layer:
*layer | The layer structure to initialize. |
*input_layer | The prior layer. |
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.
Example: Create the layer structure:
or
Example: Initialize and connect the layer:
*layer | The layer structure to initialize. |
*input_layer | The prior layer. |
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.
Example: Create the layer structure:
In C:
In C, C++ and on Arduino:
Example: Initialize and connect the layer:
*layer | The layer structure to initialize. |
*input_layer | The prior layer. |
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.
Example: Create the layer structure:
In C:
In C, C++ and on Arduino:
Example: Initialize and connect the layer:
*layer | The layer structure to initialize. |
*input_layer | The prior layer. |
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.
Example: Create the layer structure:
In C:
In C, C++ and on Arduino:
Example: Initialize and connect the layer:
*layer | The layer structure to initialize. |
*input_layer | The prior layer. |