Metric Space Magnitude for Evaluating the Diversity of Latent Representations