WgLaSDI: Weak-Form Greedy Latent Space Dynamics Identification