Valid-pooling parameter bundle. More...
#include <noodle.h>
Public Attributes | |
| uint16_t | M = 1 |
| Pool window size, M x M for 2D or M samples for 1D. | |
| uint16_t | T = 1 |
| Pool stride. | |
Valid-pooling parameter bundle.
Use M = 1 and T = 1 for identity pooling. 2D pooling uses the compile-time NOODLE_POOL_MODE. Memory-backed 1D pooling computes mean pooling only when NOODLE_POOL_MODE == NOODLE_POOL_MEAN; otherwise it computes max pooling. File-backed 1D pooling helpers perform max pooling.
| uint16_t Pool::T = 1 |
Pool stride.