This class implements a layer which performs max pooling on a set of two-dimensional multi-channel images.
void SetFilterHeight( int filterHeight );
void SetFilterWidth( int filterWidth );Sets the filter size.
void SetStrideHeight( int strideHeight );
void SetStrideWidth( int strideWidth );Sets the filter stride. The default value is 1.
The layer has no trainable parameters.
The single input accepts a blob of the following dimensions:
BatchLength * BatchWidth * ListSize- the number of images in the setHeight- the images' heightWidth- the images' widthDepth * Channels- the number of channels the image format uses
The single output contains a blob of the dimensions:
BatchLengthis equal to the inputBatchLength.BatchWidthis equal to the inputBatchWidth.ListSizeis equal to the inputListSize.Heightcan be calculated from the inputHeightas(Height - FilterHeight)/StrideHeight + 1.Widthcan be calculated from the inputWidthas(Width - FilterWidth)/StrideWidth + 1.Depthis equal to the inputDepth.Channelsis equal to the inputChannels.