NN training

The training process of a neural network (NN) can be summarized as:

backpropagation + gradient descent (or another optimizer)

Variations:

But the core idea remains:
Backpropagation calculates the gradients, and the optimizer uses them to update the weights.