PUMA: Deep Metric Imitation Learning for Stable Motion Primitives | Synapse