Max Pooling 1D Layer
R2026bLibraries:
Deep Learning Toolbox /
Deep Learning Layers /
Pooling Layers
Description
The Max Pooling 1D Layer block performs downsampling by dividing the input into 1-D pooling regions, then computing the maximum of each region.
The dimension that the layer pools over depends on the layer input:
For time series and vector sequence input in the
CTformat (two dimensions corresponding to channels and time steps, in that order), the layer pools over the time dimension.For 1-D image input in the
SCformat (two dimensions corresponding to spatial pixels and channels, in that order), the layer pools over the spatial dimension.
The exportNetworkToSimulink function generates this block to represent a maxPooling1dLayer
object.
Examples
Limitations
Before R2026a: The Layer parameter supports the
manualpadding mode for only some padding sizes.
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"dlpoolinglib/Max Pooling 1D Layer"
Example: add_block("dlpoolinglib/Max Pooling 1D Layer","myModel/myBlock",MakeNameUnique="on")
For information about programmatic access to individual block parameters, see the Programmatic Use section of parameter descriptions on this page.


