<!--
{
  "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/MPSNNFilterNode",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Metal Performance Shaders"
    ],
    "preciseIdentifier" : "c:objc(cs)MPSNNFilterNode"
  },
  "title" : "MPSNNFilterNode"
}
-->

# MPSNNFilterNode

A placeholder node denoting a neural network filter stage.

```
class MPSNNFilterNode
```

## Topics

### Instance Properties

[`label`](/documentation/MetalPerformanceShaders/MPSNNFilterNode/label)

[`paddingPolicy`](/documentation/MetalPerformanceShaders/MPSNNFilterNode/paddingPolicy)

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

The protocol that provides a description of how kernels should pad images.

[`resultImage`](/documentation/MetalPerformanceShaders/MPSNNFilterNode/resultImage)

[`resultState`](/documentation/MetalPerformanceShaders/MPSNNFilterNode/resultState)

[`resultStates`](/documentation/MetalPerformanceShaders/MPSNNFilterNode/resultStates)

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

A placeholder node denoting the position in the graph of a state object.

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

A representation of the state created to record the properties of a binary gradient kernel.

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

A representation of the state created to record the properties of a gradient kernel at the time it was encoded.

## Relationships

### Conforms To

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

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

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

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

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

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

### Inherited By

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

### 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)