# Module: tf.compat.v1.nn.rnn_cell

<br />

## Classes

[`class BasicLSTMCell`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/nn/rnn_cell/BasicLSTMCell): DEPRECATED: Please use [`tf.compat.v1.nn.rnn_cell.LSTMCell`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/nn/rnn_cell/LSTMCell) instead.

[`class BasicRNNCell`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/nn/rnn_cell/BasicRNNCell): The most basic RNN cell.

[`class DeviceWrapper`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/nn/rnn_cell/DeviceWrapper): Operator that ensures an RNNCell runs on a particular device.

[`class DropoutWrapper`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/nn/rnn_cell/DropoutWrapper): Operator adding dropout to inputs and outputs of the given cell.

[`class GRUCell`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/nn/rnn_cell/GRUCell): Gated Recurrent Unit cell.

[`class LSTMCell`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/nn/rnn_cell/LSTMCell): Long short-term memory unit (LSTM) recurrent network cell.

[`class LSTMStateTuple`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/nn/rnn_cell/LSTMStateTuple): Tuple used by LSTM Cells for `state_size`, `zero_state`, \& output state.

[`class MultiRNNCell`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/nn/rnn_cell/MultiRNNCell): RNN cell composed sequentially of multiple simple cells.

[`class RNNCell`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/nn/rnn_cell/RNNCell): Abstract object representing an RNN cell.

[`class ResidualWrapper`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/nn/rnn_cell/ResidualWrapper): RNNCell wrapper that ensures cell inputs are added to the outputs.