Package apple.mlcompute.enums
Class MLCLossType
- java.lang.Object
-
- apple.mlcompute.enums.MLCLossType
-
public final class MLCLossType extends java.lang.Object[@enum] MLCLossType A loss function.
-
-
Field Summary
Fields Modifier and Type Field Description static intCategoricalCrossEntropyThe categorical cross entropy loss.static intCosineDistanceThe cosine distance loss.static intCountHolds the number of MLCLossTypesstatic intHingeThe hinge loss.static intHuberThe Huber loss.static intLogThe log loss.static intMeanAbsoluteErrorThe mean absolute error loss.static intMeanSquaredErrorThe mean squared error loss.static intSigmoidCrossEntropyThe sigmoid cross entropy loss.static intSoftmaxCrossEntropyThe softmax cross entropy loss.
-
-
-
Field Detail
-
MeanAbsoluteError
public static final int MeanAbsoluteError
The mean absolute error loss.- See Also:
- Constant Field Values
-
MeanSquaredError
public static final int MeanSquaredError
The mean squared error loss.- See Also:
- Constant Field Values
-
SoftmaxCrossEntropy
public static final int SoftmaxCrossEntropy
The softmax cross entropy loss.- See Also:
- Constant Field Values
-
SigmoidCrossEntropy
public static final int SigmoidCrossEntropy
The sigmoid cross entropy loss.- See Also:
- Constant Field Values
-
CategoricalCrossEntropy
public static final int CategoricalCrossEntropy
The categorical cross entropy loss.- See Also:
- Constant Field Values
-
Hinge
public static final int Hinge
The hinge loss.- See Also:
- Constant Field Values
-
Huber
public static final int Huber
The Huber loss.- See Also:
- Constant Field Values
-
CosineDistance
public static final int CosineDistance
The cosine distance loss.- See Also:
- Constant Field Values
-
Log
public static final int Log
The log loss.- See Also:
- Constant Field Values
-
Count
public static final int Count
Holds the number of MLCLossTypes- See Also:
- Constant Field Values
-
-