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') → Tensor[source][source]¶ 详见 MultiLabelSoftMarginLoss。 返回类型 张量