Sharing Matters for Generalization in Deep Metric Learning