Pooling layers

How do they work?

Functionality

Similar to Convolutional Layers, they usually apply a filter onto a region, compressing it to a single value.

There are different types of filters (different types of pooling layers).

The filter finds the maximum duh.

When to use them?

To find spikes, abnormalities. Good for edge detection. Use in early layers.

Implementation

torch.nn.MaxPool2d(kernel_size=2)