Package apple.mlcompute.enums
Class MLCReductionType
- java.lang.Object
-
- apple.mlcompute.enums.MLCReductionType
-
public final class MLCReductionType extends java.lang.Object[@enum] MLCReductionType A reduction operation type.
-
-
Field Summary
Fields Modifier and Type Field Description static intAllAlf(X) = X_0 && X_1 && ...static intAnyAny(X) = X_0 || X_1 || ...static intArgMaxThe argmax reduction.static intArgMinThe argmin reduction.static intCountAlf(X) = X_0 && X_1 && ...static intL1NormThe L1norm reduction.static intMaxThe max reduction.static intMeanThe mean reduction.static intMinThe min reduction.static intNoneNo reduction.static intSumThe sum reduction.
-
-
-
Field Detail
-
None
public static final int None
No reduction.- See Also:
- Constant Field Values
-
Sum
public static final int Sum
The sum reduction.- See Also:
- Constant Field Values
-
Mean
public static final int Mean
The mean reduction.- See Also:
- Constant Field Values
-
Max
public static final int Max
The max reduction.- See Also:
- Constant Field Values
-
Min
public static final int Min
The min reduction.- See Also:
- Constant Field Values
-
ArgMax
public static final int ArgMax
The argmax reduction.- See Also:
- Constant Field Values
-
ArgMin
public static final int ArgMin
The argmin reduction.- See Also:
- Constant Field Values
-
L1Norm
public static final int L1Norm
The L1norm reduction. API-Since: 14.5- See Also:
- Constant Field Values
-
Any
public static final int Any
Any(X) = X_0 || X_1 || ... X_n API-Since: 14.5- See Also:
- Constant Field Values
-
All
public static final int All
Alf(X) = X_0 && X_1 && ... X_n API-Since: 14.5- See Also:
- Constant Field Values
-
Count
public static final int Count
Alf(X) = X_0 && X_1 && ... X_n- See Also:
- Constant Field Values
-
-