# tensorplay.nn.functional.multilabel_soft_margin_loss

Source: https://www.tensorplay.cn/docs/generated/tensorplay.nn.functional.multilabel_soft_margin_loss.html

# tensorplay.nn.functional.multilabel_soft_margin_loss

tensorplay.nn.functional.multilabel_soft_margin_loss(input: TensorBase, target: TensorBase, weight: TensorBase | [None](https://docs.python.org/3/library/constants.html#None) = None, size_average=None, reduce=None, reduction: [str](https://docs.python.org/3/library/stdtypes.html#str) = 'mean') &#x2192; TensorBase[[source]](../_modules/tensorplay/nn/functional.html#multilabel_soft_margin_loss)

Compute the multilabel soft margin loss.

See MultiLabelSoftMarginLoss for details.
