Convolution..::..MaxPool3D Method
Max pooling operation for 3D data (spatial or spatio-temporal).
Namespace:
SiaNet.NNAssembly: SiaNet (in SiaNet.dll)
Syntax
public static Function MaxPool3D( Variable layer, Tuple<int, int, int> poolSize, Tuple<int, int, int> strides, bool padding )
Parameters
- layer
- Type: Variable
The output of the last layer.
- poolSize
- Type: Tuple<(Of <(<'Int32, Int32, Int32>)>)>
Tuple of 3 integers, factors by which to downscale (dim1, dim2, dim3). (2, 2, 2) will halve the size of the 3D input in each dimension.
- padding
- Type: Boolean
Boolean, if true results in padding the input such that the output has the same length as the original input.