---
title: BNNSDataLayout6DFirstMajor
framework: accelerate
role: symbol
role_heading: Global Variable
path: accelerate/bnnsdatalayout6dfirstmajor
---

# BNNSDataLayout6DFirstMajor

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

## Declaration

```swift
var BNNSDataLayout6DFirstMajor: BNNSDataLayout { get }
```

## Discussion

Discussion The value (i, j, k, l, m, n) is at index: n * stride[0] + m * stride[1] + l * stride[2] + k * stride[3] + j * stride[4] + i * stride[5]. 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).

## See Also

### 6D Data Layouts

- [BNNSDataLayout6DLastMajor](accelerate/bnnsdatalayout6dlastmajor.md)
