Links for metric-learning-layers