xlnstorch.operators.lns_margin_ranking_loss#
- xlnstorch.operators.lns_margin_ranking_loss(x1, x2, y, margin, base, size_average=None, reduce=None, reduction='mean')#
See docs for
torch.nn.functional.margin_ranking_loss()for parameter/return details. Typically, torch.Tensor arguments are the equivalent internal representations of LNStensors.