Interface Loss
- All Superinterfaces:
BiFunction<Tensor,Tensor, Tensor>
Loss functions.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic LossCross Entropy Loss Function.static LossHinge Embedding Loss Function.static Losskl()Kullback-Leibler Divergence Loss Function.static Lossl1()Mean Absolute Error (L1) Loss Function.static TensormarginRanking(Tensor input1, Tensor input2, Tensor target) Margin Ranking Loss Function.static Lossmse()Mean Squared Error (L2) Loss Function.static Lossnll()Negative Log-Likelihood Loss Function.static TensortripleMarginRanking(Tensor anchor, Tensor positive, Tensor negative) Triplet Margin Ranking Loss Function.Methods inherited from interface BiFunction
andThen, apply
-
Method Details
-
l1
-
mse
-
nll
-
crossEntropy
-
hingeEmbedding
-
kl
-
marginRanking
-
tripleMarginRanking
-