AIfES 2  2.0.0
ailayer_maxpool2d_default.h
Go to the documentation of this file.
1 
24 #ifndef AILAYER_MAXPOOL2D_DEFAULT
25 #define AILAYER_MAXPOOL2D_DEFAULT
26 
28 
31 
32 #define HW(h, w) {h, w}
33 
34 #define AILAYER_MAXPOOL2D_F32_M(pool_size, stride, padding) \
35  {{0,},pool_size,stride,padding,}
36 #define AILAYER_MAXPOOL2D_F32_A(pool_size, stride, padding) \
37  {{0,},pool_size,stride,padding,}
38 
40 
94 
104 
114 
124 
134 
135 
136 #endif // AILAYER_CONV2D_DEFAULT
137 
Base layer implementation of the MaxPool2D 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.
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.
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.
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.
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.
Math functions for F32 data type, CNN-specific implementation.
Math functions for F32 data type, default implementation.
General layer structure.
Definition: ailayer_maxpool2d.h:51
AIfES layer interface.
Definition: aifes_core.h:252