This series "Automatic Differentiation for Scientific Machine Learning" introduces the basic concepts of automatic differentiation that are relevant for coupling physical simulation and machine learning.
See slides here: https://kailaix.github.io/ADCME.jl/dev/assets/Slide/AD.pdf