Enumeration

MPSDataType

A value to specify a type of data.

Declaration

enum MPSDataType : UInt32

Topics

Constants

case floatBit

A common bit for all floating point data types.

case float32

A 32-bit floating point type (single precision).

Type Properties

See Also

Properties

var rows: Int

The number of rows in the matrix.

var columns: Int

The number of columns in the matrix.

var dataType: MPSDataType

The type of the values in the matrix.

var rowBytes: Int

The stride, in bytes, between corresponding elements of consecutive rows in the matrix.