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

# MPSCNNPoolingNode

A representation of a MPS CNN pooling kernel.

```
class MPSCNNPoolingNode
```

## Topics

### Initializers

[`-  initWithSource:filterSize:`](/documentation/MetalPerformanceShaders/MPSCNNPoolingNode/init(source:filterSize:))

[`-  initWithSource:filterSize:stride:`](/documentation/MetalPerformanceShaders/MPSCNNPoolingNode/init(source:filterSize:stride:))

[`-  initWithSource:kernelWidth:kernelHeight:strideInPixelsX:strideInPixelsY:`](/documentation/MetalPerformanceShaders/MPSCNNPoolingNode/init(source:kernelWidth:kernelHeight:strideInPixelsX:strideInPixelsY:))

### Type Methods

[`+  nodeWithSource:filterSize:stride:`](/documentation/MetalPerformanceShaders/MPSCNNPoolingNode/nodeWithSource:filterSize:stride:)

[`+  nodeWithSource:filterSize:`](/documentation/MetalPerformanceShaders/MPSCNNPoolingNode/nodeWithSource:filterSize:)

## Relationships

### Inherited By

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

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

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

### Conforms To

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

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

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

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

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

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

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