2.1 Automatic Differentiation
Table of contents
- Nanograd automatic differentiation framework
- Finite difference method
- Data generation
- Defining and initializing the network
- Forward pass
- Training loop
- Testing your model
- Further extensions
Exercise a) What is being calculated?
Exercise b) How does the backward function work?
Exercise c) What happens if we run backward again?
Exercise d) Zero gradient
Exercise e) Test correctness of derivatives with the finite difference method