Contents

BNNSDataLayout3DLastMajor

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

Declaration

var BNNSDataLayout3DLastMajor: BNNSDataLayout { get }

Discussion

The value (i, j, k) is at index i * stride[0] + j * stride[1] + k * 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