---
title: "getRecurrentOutputMatrix(forLayerIndex:)"
framework: metalperformanceshaders
role: symbol
role_heading: Instance Method
path: "metalperformanceshaders/mpsrnnrecurrentmatrixstate/getrecurrentoutputmatrix(forlayerindex:)"
---

# getRecurrentOutputMatrix(forLayerIndex:)

## Declaration

```swift
func getRecurrentOutputMatrix(forLayerIndex layerIndex: Int) -> MPSMatrix?
```

## See Also

### Instance Methods

- [getMemoryCellMatrix(forLayerIndex:)](metalperformanceshaders/mpsrnnrecurrentmatrixstate/getmemorycellmatrix(forlayerindex:).md)
