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

# MLCLSTMResultMode.outputAndStates

A result mode that indicates the layer produces three result tensors that represent the final output of the LSTM, the last hidden state, and the cell state.

## Declaration

```swift
case outputAndStates
```

## See Also

### Enumeration Cases

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