---
title: strides
framework: coreml
role: symbol
role_heading: Instance Property
path: coreml/mlmultiarray/strides
---

# strides

A number array in which each element is the number of memory locations that span the length of the corresponding dimension.

## Declaration

```swift
var strides: [NSNumber] { get }
```

## Discussion

Discussion See subscript(_:) and subscript(_:) for code examples that use strides.

## See Also

### Inspecting a multiarray

- [count](coreml/mlmultiarray/count.md)
- [dataType](coreml/mlmultiarray/datatype.md)
- [shape](coreml/mlmultiarray/shape.md)
