Pooling
Currently, Serrano supports 2D Pooling operators.
Notes
- The
inputTensors
andoutputTensors
should have same number of tensors.
Initialization
let op = MaxPool2DOperator(kernelSize: [2, 2], channelPosition: TensorChannelOrder.Last, paddingMode: PaddingMode.Valid)
kernelSize
. Required. 2DInt
array.paddingMode
: Default isPaddingMode.Valid
.channelPosition
. Default isTensorChannelOrder.First
List
MaxPool2DOperator
Max pooling
AvgPool2DOperator
Average pooling
SumPool2DOperator
Sum pooling