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')[原始碼]#
計算多標籤軟間隔損失。
有關詳細資訊,請參閱
MultiLabelSoftMarginLoss。
計算多標籤軟間隔損失。
有關詳細資訊,請參閱 MultiLabelSoftMarginLoss。