---
title: MPSNDArrayIdentity
framework: metalperformanceshaders
role: symbol
role_heading: Class
path: metalperformanceshaders/mpsndarrayidentity
---

# MPSNDArrayIdentity

## Declaration

```swift
class MPSNDArrayIdentity
```

## Topics

### Initializers

- [init(device:)](metalperformanceshaders/mpsndarrayidentity/init(device:).md)

### Instance Methods

- [reshape(with:commandBuffer:sourceArray:dimensionCount:dimensionSizes:destinationArray:)](metalperformanceshaders/mpsndarrayidentity/reshape(with:commandbuffer:sourcearray:dimensioncount:dimensionsizes:destinationarray:).md)
- [reshape(with:commandBuffer:sourceArray:shape:destinationArray:)](metalperformanceshaders/mpsndarrayidentity/reshape(with:commandbuffer:sourcearray:shape:destinationarray:).md)
- [reshape(with:sourceArray:dimensionCount:dimensionSizes:destinationArray:)](metalperformanceshaders/mpsndarrayidentity/reshape(with:sourcearray:dimensioncount:dimensionsizes:destinationarray:).md)
- [reshape(with:sourceArray:shape:destinationArray:)](metalperformanceshaders/mpsndarrayidentity/reshape(with:sourcearray:shape:destinationarray:).md)
- [reshape(withMTL4CommandEncoder:sourceArray:dimensionCount:dimensionSizes:destinationArray:)](metalperformanceshaders/mpsndarrayidentity/reshape(withmtl4commandencoder:sourcearray:dimensioncount:dimensionsizes:destinationarray:).md)
- [reshape(withMTL4CommandEncoder:sourceArray:shape:destinationArray:)](metalperformanceshaders/mpsndarrayidentity/reshape(withmtl4commandencoder:sourcearray:shape:destinationarray:).md)
- [reshape(withSourceArray:shape:)](metalperformanceshaders/mpsndarrayidentity/reshape(withsourcearray:shape:).md)

## Relationships

### Inherits From

- [MPSNDArrayUnaryKernel](metalperformanceshaders/mpsndarrayunarykernel.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
