---
title: "reshape(withShape:)"
framework: metalperformanceshaders
role: symbol
role_heading: Instance Method
path: "metalperformanceshaders/mpsndarraydescriptor/reshape(withshape:)"
---

# reshape(withShape:)

## Declaration

```swift
func reshape(withShape shape: [NSNumber])
```
