Contents

BNNSDataLayout3DFirstMajor

A constant that represents a 3D first-major tensor.

Declaration

var BNNSDataLayout3DFirstMajor: BNNSDataLayout { get }

Discussion

The value (i, j, k) is at index k * stride[0] + j * stride[1] + i * stride[2].

  • size[0] is the size of the first dimension (i).

  • size[1] is the size of the second dimension (j).

  • size[2] is the size of the third dimension (k).

See Also

3D Data Layouts