Pooling
Pooling
[class] AvgPool
(AvgPool kernel-size &key (stride nil) (dilation 1) (padding 0) (ceiling #'ceiling))
Implements Average Pooling layer.
[function] !avgpool
(!avgpool x &key (kernel-size `(2 2)) (stride nil) (dilation 1) (padding 0) (ceiling #'ceiling))
Applies average pooling over the tensor.
[class] MaxPool
(MaxPool kernel-size &key (stride nil) (dilation 1) (padding 0) (ceiling #'ceiling))
Implements Max Pooling layer.
[function] !maxpool
(!maxpool x &key (kernel-size `(2 2)) (stride nil) (dilation 1) (padding 0) (ceiling #'ceiling))
Applies max pooling over the tensor.