Backpropagation

Pasted image 20241201193612.png

Tedious to derive WL on paper

Use a Computational Graph

Pasted image 20241201201755.png

Patterns

Add gate: gradient distributor

What about backprop with vector-valued functions?

Pasted image 20241201210302.png

Backprop with vectors

Pasted image 20241201211206.png

Backprop with Matrices (or Tensors)

Pasted image 20241201213252.png