Contents

BNNSDataLayoutColumnMajorMatrix

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

Declaration

var BNNSDataLayoutColumnMajorMatrix: BNNSDataLayout { get }

Discussion

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

  • size[0] is the number of rows.

  • size[1] is the number of columns.

See Also

2D Data Layouts