link: https://gombru.github.io/2019/04/03/ranking_loss/ range:
summary
a Pairwise Ranking Loss that uses cosine distance as the distance metric. Inputs are the features of the pair elements, the label indicating if it’s a positive or a negative pair, and the margin.
- see ranking loss functions to learn what pairwise ranking loss is