torch.nn.functional.soft_margin_loss
torch.nn.functional.soft_margin_loss(input, target, size_average=None, reduce=None, reduction='mean') -> Tensor
See "SoftMarginLoss" for details.
Return type:
      Tensor