TensorPlay
API symbolsnn
Copy
View MarkdownDownload .md

tensorplay.nn.functional.soft_margin_loss

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

Compute the soft margin loss.

See SoftMarginLoss for details.

Ask DeepWiki