Rate this Page

Function at::hinge_embedding_loss#

Function Documentation#

inline at::Tensor at::hinge_embedding_loss(const at::Tensor &self, const at::Tensor &target, double margin = 1.0, int64_t reduction = at::Reduction::Mean)#