AIfES 2
2.0.0
|
Default implementation of the MaxPool2D layer . More...
Go to the source code of this file.
Typedefs | |
typedef struct ailayer_maxpool2d | ailayer_maxpool2d_f32_t |
Functions | |
ailayer_t * | ailayer_maxpool2d_f32_default (ailayer_maxpool2d_f32_t *layer, ailayer_t *input_layer) |
Initializes and connect a Conv2D layer with the F32 default implementation. More... | |
ailayer_t * | ailayer_maxpool2d_cfirst_f32_default (ailayer_maxpool2d_f32_t *layer, ailayer_t *input_layer) |
Initializes and connect a MaxPool2D layer (channels first) with the F32 default implementation. More... | |
ailayer_t * | ailayer_maxpool2d_chw_f32_default (ailayer_maxpool2d_f32_t *layer, ailayer_t *input_layer) |
Initializes and connect a MaxPool2D layer (channels first) with the F32 default implementation. More... | |
ailayer_t * | ailayer_maxpool2d_clast_f32_default (ailayer_maxpool2d_f32_t *layer, ailayer_t *input_layer) |
Initializes and connect a MaxPool2D layer (channels last) with the F32 default implementation. More... | |
ailayer_t * | ailayer_maxpool2d_hwc_f32_default (ailayer_maxpool2d_f32_t *layer, ailayer_t *input_layer) |
Initializes and connect a MaxPool2D layer (channels last) with the F32 default implementation. More... | |
Default implementation of the MaxPool2D layer .
Hardware independent implementations of the MaxPool2D layer in F32 data-type. For more information about the MaxPool2D layer refer to ailayer_maxpool2d.h.
ailayer_t* ailayer_maxpool2d_cfirst_f32_default | ( | ailayer_maxpool2d_f32_t * | layer, |
ailayer_t * | input_layer | ||
) |
Initializes and connect a MaxPool2D layer (channels first) with the F32 default implementation.
Code examples are given in the description of ailayer_maxpool2d_f32_default().
*layer | The layer structure to initialize. |
*input_layer | The prior layer. |
ailayer_t* ailayer_maxpool2d_chw_f32_default | ( | ailayer_maxpool2d_f32_t * | layer, |
ailayer_t * | input_layer | ||
) |
Initializes and connect a MaxPool2D layer (channels first) with the F32 default implementation.
Code examples are given in the description of ailayer_maxpool2d_f32_default().
*layer | The layer structure to initialize. |
*input_layer | The prior layer. |
ailayer_t* ailayer_maxpool2d_clast_f32_default | ( | ailayer_maxpool2d_f32_t * | layer, |
ailayer_t * | input_layer | ||
) |
Initializes and connect a MaxPool2D layer (channels last) with the F32 default implementation.
Code examples are given in the description of ailayer_maxpool2d_f32_default().
*layer | The layer structure to initialize. |
*input_layer | The prior layer. |
ailayer_t* ailayer_maxpool2d_f32_default | ( | ailayer_maxpool2d_f32_t * | layer, |
ailayer_t * | input_layer | ||
) |
Initializes and connect a Conv2D 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 for data with channels first (all options are equivalent):
or
or
Example: Initialize and connect the layer for data with channels last (all options are equivalent):
or
or
*layer | The layer structure to initialize. |
*input_layer | The prior layer. |
ailayer_t* ailayer_maxpool2d_hwc_f32_default | ( | ailayer_maxpool2d_f32_t * | layer, |
ailayer_t * | input_layer | ||
) |
Initializes and connect a MaxPool2D layer (channels last) with the F32 default implementation.
Code examples are given in the description of ailayer_maxpool2d_f32_default().
*layer | The layer structure to initialize. |
*input_layer | The prior layer. |