---
title: BNNSDataLayout8DLastMajor
framework: accelerate
role: symbol
role_heading: Global Variable
path: accelerate/bnnsdatalayout8dlastmajor
---

# BNNSDataLayout8DLastMajor

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

## Declaration

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

## Discussion

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

## See Also

### 8D Data Layouts

- [BNNSDataLayout8DFirstMajor](accelerate/bnnsdatalayout8dfirstmajor.md)
