---
title: dimension
framework: coreai
role: symbol
role_heading: Instance Property
path: coreai/ndarray/interleavelayout-swift.struct/dimension
---

# dimension

The index of the interleaved dimension.

## Declaration

```swift
var dimension: Int { get }
```
