---
title: MPSNNImageNode
framework: metalperformanceshaders
role: symbol
role_heading: Class
path: metalperformanceshaders/mpsnnimagenode
---

# MPSNNImageNode

A placeholder node denoting the position of a neural network image in a graph.

## Declaration

```swift
class MPSNNImageNode
```

## Topics

### Initializers

- [init(handle:)](metalperformanceshaders/mpsnnimagenode/init(handle:).md)

### Instance Properties

- [exportFromGraph](metalperformanceshaders/mpsnnimagenode/exportfromgraph.md)
- [format](metalperformanceshaders/mpsnnimagenode/format.md)
- [MPSImageFeatureChannelFormat](metalperformanceshaders/mpsimagefeaturechannelformat.md)
- [handle](metalperformanceshaders/mpsnnimagenode/handle.md)
- [imageAllocator](metalperformanceshaders/mpsnnimagenode/imageallocator.md)
- [stopGradient](metalperformanceshaders/mpsnnimagenode/stopgradient.md)
- [synchronizeResource](metalperformanceshaders/mpsnnimagenode/synchronizeresource.md)

### Type Methods

- [exportedNode(with:)](metalperformanceshaders/mpsnnimagenode/exportednode(with:).md)

### Supporting Types

- [MPSHandle](metalperformanceshaders/mpshandle.md)
- [MPSImageFeatureChannelFormat](metalperformanceshaders/mpsimagefeaturechannelformat.md)
- [MPSImageAllocator](metalperformanceshaders/mpsimageallocator.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Neural Network Graphs

- [MPSNNGraph](metalperformanceshaders/mpsnngraph.md)
- [MPSHandle](metalperformanceshaders/mpshandle.md)
