Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Glossary › Convolution

What is convolution?

Sliding a small grid of weights, called a filter, across an image and taking a dot product at every position. The same weights are reused everywhere.

Where it is taught

Convolution. Slide a small grid of weights across a picture and take a dot product at every position. That one operation finds edges, blurs, sharpens, and is the basis of machine vision.

What the lesson leaves you with

  • Convolution slides a small filter across an image and takes a dot product at each position.
  • It uses very few weights and shares them across every position.
  • In a network the filter values are learned by gradient descent.
Open the lesson

Questions

What is convolution?
Sliding a small grid of weights, called a filter, across an image and taking a dot product at every position. The same weights are reused everywhere.
Where is convolution used in AI?
Slide a small grid of weights across a picture and take a dot product at every position. That one operation finds edges, blurs, sharpens, and is the basis of machine vision.
What is the key idea to remember about convolution?
Convolution slides a small filter across an image and takes a dot product at each position.
Where can I learn convolution step by step?
In the lesson “Convolution” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.

See it in 3D on the blog

  • What is convolution? How AI finds edges3 min

Related terms

  • Diffusion model
  • Pooling