CharacterizingGeneralizationunder Out-Of-DistributionShiftsinDeepMetricLearning