How deep learning frameworks do back-propagation
medium.com