Contents

BNNSDataLayout7DFirstMajor

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

Declaration

var BNNSDataLayout7DFirstMajor: BNNSDataLayout { get }

Discussion

The value (i, j, k, l, m, n, o) is at index:

o * stride[0] + n * stride[1] + m * stride[2] + l * stride[3] +

k * stride[4] + j * stride[5] + i * stride[6].

  • 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).

  • size[3] is the size of the fourth dimension (l).

  • size[4] is the size of the fifth dimension (m).

  • size[5] is the size of the sixth dimension (n).

  • size[6] is the size of the seventh dimension (o).

See Also

7D Data Layouts