---
title: MLCLSTMResultMode
framework: ML Compute
role: symbol
role_heading: Enumeration
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlclstmresultmode
---

# MLCLSTMResultMode

Constants that describe the result of an LSTM layer.

## Declaration

```swift
enum MLCLSTMResultMode
```

## Topics

### Enumeration Cases

- [MLCLSTMResultMode.output](mlcompute/mlclstmresultmode/output.md)
- [MLCLSTMResultMode.outputAndStates](mlcompute/mlclstmresultmode/outputandstates.md)
- [debugDescription](mlcompute/mlclstmresultmode/debugdescription.md)

### Initializers

- [init(rawValue:)](mlcompute/mlclstmresultmode/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Creating LSTM Layers

- [init(descriptor:inputWeights:hiddenWeights:biases:)](mlcompute/mlclstmlayer/init(descriptor:inputweights:hiddenweights:biases:).md)
- [init(descriptor:inputWeights:hiddenWeights:peepholeWeights:biases:)](mlcompute/mlclstmlayer/init(descriptor:inputweights:hiddenweights:peepholeweights:biases:).md)
- [init(descriptor:inputWeights:hiddenWeights:peepholeWeights:biases:gateActivations:outputResultActivation:)](mlcompute/mlclstmlayer/init(descriptor:inputweights:hiddenweights:peepholeweights:biases:gateactivations:outputresultactivation:).md)
- [MLCLSTMDescriptor](mlcompute/mlclstmdescriptor.md)
