Forward Propagation in a Deep Network
Example of forward propagation in a 4 layer neural networks

A single training example, .
For layer 1:
For layer 2:
For layer 3:
For layer 4:
Non-Vectorized Forward Propagation
Vectorized implementation of forward Propagation
- are stacked togeter in columns.
- Similary, are stacked togeter in columns.
- are stacked togeter in columns.
- Parameters and are done differently.
For layer 1:
For layer 2:
For layer 3:
For layer 4:
Vectorized Forward Propagation
then we have to use for loop: for l in range (1,5,1):