Generalized Lagrangian Neural Networks | Synapse