Noodle
Loading...
Searching...
No Matches
Pool Struct Reference

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.

Detailed Description

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.

Member Data Documentation

◆ M

uint16_t Pool::M = 1

Pool window size, M x M for 2D or M samples for 1D.

◆ T

uint16_t Pool::T = 1

Pool stride.


The documentation for this struct was generated from the following file: