What is the stride in convolution?

The stride in a convolution layer is the number of units (steps) by which the filter (kernel) moves across the data (such as an image) during convolution.
• If the stride is 1, the filter moves one step at a time, producing a larger feature map.
• If the stride is greater than 1 (such as 2), the filter moves in larger jumps, which shrinks the feature map and reduces the amount of computation.