aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← 15. Introductory Neural Networks
Lesson 6 of 14 8 min · 113 words

Forward propagation

Computing outputs layer by layer.

Forward propagation computes the network's output by passing the input through the layers in order. For each layer: multiply by the weights, add the bias, apply the activation.

The final layer's output is the prediction, which goes into the loss. During training, the intermediate and are stored because backpropagation needs them.

For a mini-batch, stack examples as rows of a matrix and the same formulas become matrix–matrix products, which GPUs compute very fast.

Formula to remember

2D convolution

Slides

Slide kernel K over image I and sum products.

Quick check · +5 XP

Which convolution is used for learned upsampling in generators and decoders?

Practice this topic
Saved in this browser as you type.
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser