---
title: "init(source:resultWidth:resultHeight:resultFeatureChannels:)"
framework: metalperformanceshaders
role: symbol
role_heading: Initializer
path: "metalperformanceshaders/mpsnnreshapenode/init(source:resultwidth:resultheight:resultfeaturechannels:)"
---

# init(source:resultWidth:resultHeight:resultFeatureChannels:)

## Declaration

```swift
init(source: MPSNNImageNode, resultWidth: Int, resultHeight: Int, resultFeatureChannels: Int)
```
