---
title: strides
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphstencilopdescriptor/strides
---

# strides

The property that defines strides for spatial dimensions.

## Declaration

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

## Discussion

Discussion Must be four numbers, one for each spatial dimension, fastest running index last. Default value: @[ @1, @1, @1, @1 ]
