Max pooling operation for spatial data.
Input shape
dataFormat === CHANNEL_LAST
[batchSize, rows, cols, channels]
dataFormat === CHANNEL_FIRST
[batchSize, channels, rows, cols]
Output shape
dataFormat=CHANNEL_LAST
[batchSize, pooledRows, pooledCols, channels]
dataFormat=CHANNEL_FIRST
[batchSize, channels, pooledRows, pooledCols]
Generated using TypeDoc
Max pooling operation for spatial data.
Input shape
dataFormat === CHANNEL_LAST
: 4D tensor with shape:[batchSize, rows, cols, channels]
dataFormat === CHANNEL_FIRST
: 4D tensor with shape:[batchSize, channels, rows, cols]
Output shape
dataFormat=CHANNEL_LAST
: 4D tensor with shape:[batchSize, pooledRows, pooledCols, channels]
dataFormat=CHANNEL_FIRST
: 4D tensor with shape:[batchSize, channels, pooledRows, pooledCols]