Stride
Stride is a term often used in image processing and convolutional neural networks (CNNs). In the context of image processing, stride refers to the number of steps that the operating window moves across the image when applying certain operations to the image, such as cropping, feature extraction, or filtering.
For example, when cropping an image, if the step size is 32 pixels, it means that each time the cropping window moves 32 pixels to the right on the image. Such a step size setting ensures that different areas of the image are covered in continuous cropping operations, so that more features or details can be extracted from the image.
In convolutional neural networks, the stride defines the interval at which the convolution kernel slides on the input feature map. If the stride of the convolution layer is 2, the convolution kernel will skip one pixel at a time, which will reduce the spatial size of the output feature map while increasing computational efficiency.