Theoretical And Applied Deep Learning For The Physical Sciences