Product-based topological Lagrangian neural network for learning articulated 2D multi-rigid-body system | Synapse