What is the primary purpose of a pooling layer in a Convolutional Neural Network?
-
A
To introduce non-linearity into the network.
-
B
To reduce the spatial dimensions of the feature maps.
-
C
To increase the number of parameters in the model.
-
D
To perform feature extraction by applying filters.