Map 1 · Building and training a network · Step 6

Compute the gradients

How does each weight learn its share of the blame?

Key formula

Fact or figure

Backpropagation gets every gradient for about the cost of one extra forward pass, by reusing each layer's error signal.

Skip this step and…

Following only one path when a unit feeds several outputs: the gradient must sum over every path.

Digits example

For the dense digit network: at the softmax output, then back through and the ReLU derivatives.

Learn it

Taught in Section 7 (Backpropagation) of the course. The map follows the deep learning workflow, the order you build a model in; the course teaches in the order that is easiest to learn, so the numbers can jump.

How it connects

← Back to the whole map