Index Ai Academy
Glossary · Phase 4 · Deep learning

Closure

Also written: closures

A small function that remembers the values around it when it was made. Autograd stores one per operation to run its backward step later.

Try it now

This is all of backpropagation: one small rule per operation, and the right order.

Learn it properly

Build an autograd engine · Write backprop yourself in ~100 lines (micrograd). About 40 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write