Large Scale Exact Gaussian Processes Inference and Euclidean Constrained Neural Networks with Physics Priors