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

# MPSCNNConvolutionNode

A representation of a convolution kernel.

```
class MPSCNNConvolutionNode
```

## Topics

### Initializers

[`-  initWithSource:weights:`](/documentation/MetalPerformanceShaders/MPSCNNConvolutionNode/init(source:weights:))

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

The protocol that provides convolution filter weights and bias terms.

### Type Methods

[`+  nodeWithSource:weights:`](/documentation/MetalPerformanceShaders/MPSCNNConvolutionNode/nodeWithSource:weights:)

## Relationships

### Inherited By

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

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

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

### Conforms To

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

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

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

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

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

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

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

### Inherits From

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

---

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)