API symbolsnnCopyCopy as MarkdownCopy page linkView MarkdownDownload .mdOpenAIOpen in ChatGPTClaudeOpen in ClaudePerplexityOpen in PerplexityGrokOpen in Grok 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. Help improve this pageFound an error, an unclear step, or a missing example?Was this page helpful?YesNoSuggest an editReport an issuetensorplay.nn.functional.multilabel_margin_lossCompute the multilabel margin loss.tensorplay.nn.functional.native_channel_shuffleNative channel shuffle primitive (torch.native_channel_shuffle).