A Skip Connection Adds an Earlier Representation

A residual block can add its input representation to a calculated change when dimensions and semantics permit.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace a scalar case
  2. Check the representation match

Trace a scalar case

An input five and a predicted change minus two give block output three. A zero change leaves the input unchanged under addition. Identity elements for folds show the zero rule.

Check the representation match

Adding vectors requires compatible shapes and intended alignment. A projection can be used when learned changes target another representation under the model design. See residual connections.[1]

References

  1. Ian Goodfellow, Yoshua Bengio and Aaron Courville, Deep Learning ↩