Type Method

rowBytes(forColumns:dataType:)

No overview available.

Declaration

class func rowBytes(forColumns columns: Int, dataType: MPSDataType) -> Int

See Also

Methods

init(dimensions: Int, columns: Int, rowBytes: Int, dataType: MPSDataType)

Creates a matrix descriptor with the specified dimensions and data type.

class func rowBytes(fromColumns: Int, dataType: MPSDataType) -> Int

Determines the recommended matrix row stride, in bytes, for a given number of columns.