Trajectory VAE for multi-modal imitation