AI engineering glossary · Computer vision

What is stride?

Stride: The number of pixels a kernel or pooling window moves each step as it slides across an image. A stride of 1 visits every position, while a stride of 2 skips every other one and roughly halves the output height and width.

Level: beginnerTopic: Computer vision

Stride: an example

A 224 x 224 input with a 7 x 7 kernel, padding 3 and stride 2 gives a 112 x 112 output, as in the first layer of ResNet.

Related terms

More Computer vision terms

Where you learn it

Stride is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.