Convolution..::..MaxPool2D Method
Max pooling operation for spatial data.
Namespace:
SiaNet.NNAssembly: SiaNet (in SiaNet.dll)
Syntax
Parameters
- layer
- Type: Variable
The output of the last layer.
- poolSize
- Type: Tuple<(Of <(<'Int32, Int32>)>)>
A tuple of 2 integers, factors by which to downscale (vertical, horizontal). (2, 2) will halve the input in both spatial dimension. If only one integer is specified, the same window length will be used for both dimensions.
- strides
- Type: Tuple<(Of <(<'Int32, Int32>)>)>
Integer, tuple of 2 integers, or None. Strides values. If None, it will default to pool_size.
- padding
- Type: Boolean
Boolean, if true results in padding the input such that the output has the same length as the original input.