Bayesian Metric Learning for Uncertainty Quantification in Image Retrieval