---
title: produceCell
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphlstmdescriptor/producecell
---

# produceCell

A parameter that controls whether or not to return the output cell from the LSTM layer.

## Declaration

```swift
var produceCell: Bool { get set }
```

## Discussion

Discussion If set to YES then this layer will produce the internal cell of the LSTM unit as secondary output. Default value: NO.
