Initializer

init(device:kernelWidth:kernelHeight:strideInPixelsX:strideInPixelsY:)

Initializes a max pooling filter.

Declaration

init(device: MTLDevice, kernelWidth: Int, kernelHeight: Int, strideInPixelsX: Int, strideInPixelsY: Int)