mindspore.ops.margin_ranking_loss
- mindspore.ops.margin_ranking_loss(input1, input2, target, margin=0.0, reduction='mean')[source]
MarginRankingLoss creates a criterion that measures the loss.
For details, please refer to
mindspore.nn.MarginRankingLoss
.