# Tag Info

Accepted

### What is the meaning of a 2D stride?

Your stride will be just an integer number only when doing 1D convolution. When doing 2D convolution you get 2 integers like your example: (1, 1). When there is ...
• 24.7k

### Is the stride applied both in the horizontal and vertical directions in convolutional neural networks?

Yes, in Keras you can apply different strides by giving a tuple/list, specifying the value of strides along the height and width. If you just give a single value the API assumes the same value for all ...

### Is the stride applied both in the horizontal and vertical directions in convolutional neural networks?

Yes, in Keras this is simply implemented by using a tuple for the stride argument of a convolutional layer, with each element of the tuple corresponding to the stride of each dimension.
• 195
Accepted

### Is down-sampling the only purpose of using stride?

The general purpose of stride (along with padding) is to determine the spatial dimensions of the output. So, with appropriate stride (and padding), you can also make the spatial dimensions of the ...
• 35k
Accepted

### What is the stride information of an image referring here?

Do they mean the strides that are related to the CNN, pooling, etc., or are they referring to any other stride information? The stride referred to by the quote "only plays with the size and ...
• 24.7k
Yes, you're right, after the green one, it should also move two steps (because stride = 2) to the right once more. Note that in the $3 \times 3$ output volume picture, there's also still a white cell ...