# tf.compat.v1.nn.rnn_cell.LSTMStateTuple

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.1.0/tensorflow/python/ops/rnn_cell_impl.py#L616-L632) |

Tuple used by LSTM Cells for `state_size`, `zero_state`, and output state.

    tf.compat.v1.nn.rnn_cell.LSTMStateTuple(
        c, h
    )

Stores two elements: `(c, h)`, in that order. Where `c` is the hidden state
and `h` is the output.

Only used when `state_is_tuple=True`.

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `c` | <br /> <br /> |
| `h` | <br /> <br /> |
| `dtype` | <br /> <br /> |

<br />