What Is Deep Learning

Layer 2 · Mechanics

What Is Deep Learning

The forward pass as a chain of transformations, why nonlinearity is essential, and the main deep architectures at a glance.

8 min read70 XP

  1. Input x

    e.g. pixel vector

  2. Linear transform

    weighted sum

  3. Nonlinearity

    e.g. ReLU

  4. Linear transform

    next layer

  5. Nonlinearity

    ...

  6. Output

    prediction

The forward pass: alternating linear transforms and nonlinear squashing functions.

Mechanically, a deep network is a chain of alternating steps: a linear transformation (multiply by weights, add a bias) followed by a nonlinear function applied element-wise. Repeat this pattern many times and you have a 'deep' network.

Go deeper: L3 Code