Lecture | Gradient–flow optimization as dynamic random–effects inference with applications to deep learning