torch.nn.functional.hinge_embedding_loss¶ torch.nn.functional.hinge_embedding_loss(input, target, margin=1.0, size_average=None, reduce=None, reduction='mean') → Tensor[原始碼][原始碼]¶ 詳情請參閱 HingeEmbeddingLoss。 返回型別 Tensor