---
title: "arrayView(withShape:strides:)"
framework: metalperformanceshaders
role: symbol
role_heading: Instance Method
path: "metalperformanceshaders/mpsndarray/arrayview(withshape:strides:)"
---

# arrayView(withShape:strides:)

## Declaration

```swift
func arrayView(withShape shape: [NSNumber]?, strides: [NSNumber]) -> MPSNDArray?
```
