Study the paper

Deep Residual Learning for Image Recognition

Lessons, visuals, quizzes, flashcards, and resources—organized in teaching order.

All activities

Mathematics of Identity Shortcuts and Dimension Matching

Residual Block with Identity Shortcut: step by step

Interactive study view

Residual Block with Identity Shortcut: step by step

Illustrative teaching data

Follow the existing bounded walkthrough in its intended sequence.

Step 1 of 4

  1. Step 1

    Given input vector x = [1.0, 2.0]

  2. Step 2

    Given residual output F(x) = [-0.5, 0.3]

  3. Step 3

    Compute y = F(x) + x = [0.5, 2.3]

  4. Step 4

    Sum of elements in y is 0.5 + 2.3 = 2.8