Hamiltonian Matching for Symplectic Neural Integrators