---
title: "createLSTMDescriptor(withInputFeatureChannels:outputFeatureChannels:)"
framework: metalperformanceshaders
role: symbol
role_heading: Type Method
path: "metalperformanceshaders/mpslstmdescriptor/createlstmdescriptor(withinputfeaturechannels:outputfeaturechannels:)"
---

# createLSTMDescriptor(withInputFeatureChannels:outputFeatureChannels:)

## Declaration

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