BNNSDataLayout4DFirstMajor
A constant that represents a 4D first-major tensor.
Declaration
var BNNSDataLayout4DFirstMajor: BNNSDataLayout { get }Discussion
The value (i, j, k, l) is at index:
l * stride[0] + k * stride[1] + j * stride[2] + i * stride[3]
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).