pytorch / 2 / generated / torch.nn.functional.multilabel_margin_loss.html

torch.nn.functional.multilabel_margin_loss

torch.nn.functional.multilabel_margin_loss(input, target, size_average=None, reduce=None, reduction='mean') → Tensor [source]

See MultiLabelMarginLoss for details.

Return type

Tensor

© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/2.1/generated/torch.nn.functional.multilabel_margin_loss.html