Dynamics-Aware Theory Of Deep Learning