<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetalPerformanceShaders",
  "identifier" : "/documentation/MetalPerformanceShaders/MPSNNImageNode",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Metal Performance Shaders"
    ],
    "preciseIdentifier" : "c:objc(cs)MPSNNImageNode"
  },
  "title" : "MPSNNImageNode"
}
-->

# MPSNNImageNode

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

```
class MPSNNImageNode
```

## Topics

### Initializers

[`-  initWithHandle:`](/documentation/MetalPerformanceShaders/MPSNNImageNode/init(handle:))

### Instance Properties

[`exportFromGraph`](/documentation/MetalPerformanceShaders/MPSNNImageNode/exportFromGraph)

[`format`](/documentation/MetalPerformanceShaders/MPSNNImageNode/format)

[`MPSImageFeatureChannelFormat`](/documentation/MetalPerformanceShaders/MPSImageFeatureChannelFormat)

Encodes the representation of a single channel within an image.

[`handle`](/documentation/MetalPerformanceShaders/MPSNNImageNode/handle)

[`imageAllocator`](/documentation/MetalPerformanceShaders/MPSNNImageNode/imageAllocator)

[`stopGradient`](/documentation/MetalPerformanceShaders/MPSNNImageNode/stopGradient)

[`synchronizeResource`](/documentation/MetalPerformanceShaders/MPSNNImageNode/synchronizeResource)

### Type Methods

[`+  exportedNodeWithHandle:`](/documentation/MetalPerformanceShaders/MPSNNImageNode/exportedNode(with:))

[`+  nodeWithHandle:`](/documentation/MetalPerformanceShaders/MPSNNImageNode/nodeWithHandle:)

### Supporting Types

[`MPSHandle`](/documentation/MetalPerformanceShaders/MPSHandle)

The protocol that provides resource identification.

[`MPSImageFeatureChannelFormat`](/documentation/MetalPerformanceShaders/MPSImageFeatureChannelFormat)

Encodes the representation of a single channel within an image.

[`MPSImageAllocator`](/documentation/MetalPerformanceShaders/MPSImageAllocator)

## Relationships

### Conforms To

[`CVarArg`](/documentation/Swift/CVarArg)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)