Learning Hamiltonian Systems with Mono-Implicit Runge-Kutta Methods