Class MPSGraphRandomDistribution
- java.lang.Object
-
- apple.metalperformanceshadersgraph.enums.MPSGraphRandomDistribution
-
public final class MPSGraphRandomDistribution extends java.lang.ObjectThe distributions supported by MPSGraphRandom ops.
-
-
Field Summary
Fields Modifier and Type Field Description static longNormalThe normal distribution defined by mean and standardDeviation.static longTruncatedNormalThe normal distribution defined by mean and standardDeviation, truncated to the range [min, max) API-Since: 15.4static longUniformThe uniform distribution, with samples drawn uniformly from [min, max) for float types, and [min, max] for integer types.
-
-
-
Field Detail
-
Uniform
public static final long Uniform
The uniform distribution, with samples drawn uniformly from [min, max) for float types, and [min, max] for integer types. API-Since: 15.4- See Also:
- Constant Field Values
-
Normal
public static final long Normal
The normal distribution defined by mean and standardDeviation. API-Since: 15.4- See Also:
- Constant Field Values
-
TruncatedNormal
public static final long TruncatedNormal
The normal distribution defined by mean and standardDeviation, truncated to the range [min, max) API-Since: 15.4- See Also:
- Constant Field Values
-
-