AIfES 2
2.0.0
|
Default implementation of the Input layer . More...
Go to the source code of this file.
Typedefs | |
typedef struct ailayer_input | ailayer_input_f32_t |
typedef struct ailayer_input | ailayer_input_q31_t |
typedef struct ailayer_input | ailayer_input_q7_t |
Functions | |
ailayer_t * | ailayer_input_f32_default (ailayer_input_f32_t *layer) |
Initializes and connect an Input layer with the F32 default implementation. More... | |
ailayer_t * | ailayer_input_q31_default (ailayer_input_q31_t *layer) |
Initializes and connect an Input layer with the Q31 default implementation. More... | |
ailayer_t * | ailayer_input_q7_default (ailayer_input_q7_t *layer) |
Initializes and connect an Input layer with the Q7 default implementation. More... | |
Default implementation of the Input layer .
Hardware independent implementations of the Input layer in F32 , Q31 and Q7 data-type. For more information about the Input layer refer to ailayer_input.h.
ailayer_t* ailayer_input_f32_default | ( | ailayer_input_f32_t * | layer | ) |
Initializes and connect an Input 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. |
ailayer_t* ailayer_input_q31_default | ( | ailayer_input_q31_t * | layer | ) |
Initializes and connect an Input 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. |
ailayer_t* ailayer_input_q7_default | ( | ailayer_input_q7_t * | layer | ) |
Initializes and connect an Input layer with the Q7 default implementation.
Example: Create the layer structure (Automatic version - The quantization parameters are set by aialgo_distribute_parameter_memory()):
In C:
In C, C++ and on Arduino:
Example: Create the layer structure (Manual version - The quantization parameters are set manually):
In C:
In C, C++ and on Arduino:
Example: Initialize and connect the layer:
*layer | The layer structure to initialize. |