TensorPlay
API symbolsnn
Copy
View MarkdownDownload .md

tensorplay.nn.functional.multilabel_soft_margin_loss

tensorplay.nn.functional.multilabel_soft_margin_loss(input: TensorBase, target: TensorBase, weight: TensorBase | None = None, size_average=None, reduce=None, reduction: str = 'mean') TensorBase[source]

Compute the multilabel soft margin loss.

See MultiLabelSoftMarginLoss for details.

Ask DeepWiki