This tutorial [0] is by far the best resource I have found for learning the intuition of reverse-mode automatic differentiation in Python
[0] https://sidsite.com/posts/autodiff/?utm_source=pocket_mylist
[0] https://sidsite.com/posts/autodiff/?utm_source=pocket_mylist