codeforLargeScaleMetricLearningfromEquivalenceConstraints