Package apple.mlcompute.enums
Class MLCDataType
- java.lang.Object
-
- apple.mlcompute.enums.MLCDataType
-
public final class MLCDataType extends java.lang.Object[@enum] MLCDataType A tensor data type.
-
-
Field Summary
Fields Modifier and Type Field Description static intBooleanThe Boolean data type.static intCountholds the number of MLCDataTypesstatic intFloat16The 16-bit floating-point data type.static intFloat32The 32-bit floating-point data type.static intInt32The 32-bit integer data type.static intInt64The 64-bit integer data type.static intInt8The 8-bit integer data type.static intInvalidstatic intUInt8The 8-bit unsigned integer data type.
-
-
-
Field Detail
-
Invalid
public static final int Invalid
- See Also:
- Constant Field Values
-
Float32
public static final int Float32
The 32-bit floating-point data type.- See Also:
- Constant Field Values
-
Float16
public static final int Float16
The 16-bit floating-point data type. API-Since: 15.0- See Also:
- Constant Field Values
-
Boolean
public static final int Boolean
The Boolean data type.- See Also:
- Constant Field Values
-
Int64
public static final int Int64
The 64-bit integer data type.- See Also:
- Constant Field Values
-
Int32
public static final int Int32
The 32-bit integer data type.- See Also:
- Constant Field Values
-
Int8
public static final int Int8
The 8-bit integer data type. API-Since: 15.0- See Also:
- Constant Field Values
-
UInt8
public static final int UInt8
The 8-bit unsigned integer data type. API-Since: 15.0- See Also:
- Constant Field Values
-
Count
public static final int Count
holds the number of MLCDataTypes- See Also:
- Constant Field Values
-
-