---
title: "createGRUDescriptor(withInputFeatureChannels:outputFeatureChannels:)"
framework: metalperformanceshaders
role: symbol
role_heading: Type Method
path: "metalperformanceshaders/mpsgrudescriptor/creategrudescriptor(withinputfeaturechannels:outputfeaturechannels:)"
---

# createGRUDescriptor(withInputFeatureChannels:outputFeatureChannels:)

## Declaration

```swift
class func createGRUDescriptor(withInputFeatureChannels inputFeatureChannels: Int, outputFeatureChannels: Int) -> Self
```
