torch.nn.functional.multilabel_soft_margin_loss#
- torch.nn.functional.multilabel_soft_margin_loss(input, target, weight=None, size_average=None, reduce=None, reduction='mean')[source]#
计算多标签软边距损失。
有关详细信息,请参阅
MultiLabelSoftMarginLoss
。
计算多标签软边距损失。
有关详细信息,请参阅 MultiLabelSoftMarginLoss
。