Contents

BNNSDataLayoutRowMajorMatrix

A constant that represents a 2D row-major matrix.

Declaration

var BNNSDataLayoutRowMajorMatrix: BNNSDataLayout { get }

Discussion

The value (row, col) is at index col * stride[0] + row * stride[1].

  • size[0] is the number of columns.

  • size[1] is the number of rows.

See Also

2D Data Layouts