---
title: "init(source:filterSize:stride:dilationRate:)"
framework: metalperformanceshaders
role: symbol
role_heading: Initializer
path: "metalperformanceshaders/mpscnndilatedpoolingmaxnode/init(source:filtersize:stride:dilationrate:)"
---

# init(source:filterSize:stride:dilationRate:)

## Declaration

```swift
init(source sourceNode: MPSNNImageNode, filterSize size: Int, stride: Int, dilationRate: Int)
```

## See Also

### Initializers

- [init(source:filterSize:)](metalperformanceshaders/mpscnndilatedpoolingmaxnode/init(source:filtersize:).md)
- [init(source:kernelWidth:kernelHeight:strideInPixelsX:strideInPixelsY:dilationRateX:dilationRateY:)](metalperformanceshaders/mpscnndilatedpoolingmaxnode/init(source:kernelwidth:kernelheight:strideinpixelsx:strideinpixelsy:dilationratex:dilationratey:).md)
