DataType
public enum DataType : Equatable, HashableThe supported Tensor data types.
-
A boolean.
Declaration
Swift
case bool -
An 8-bit unsigned integer.
Declaration
Swift
case uInt8 -
A 16-bit signed integer.
Declaration
Swift
case int16 -
A 32-bit signed integer.
Declaration
Swift
case int32 -
A 64-bit signed integer.
Declaration
Swift
case int64 -
A 16-bit half precision floating point.
Declaration
Swift
case float16 -
A 32-bit single precision floating point.
Declaration
Swift
case float32 -
A 64-bit double precision floating point.
Declaration
Swift
case float64