<p>Implementation looks the same as <code>GRUCell</code> class <a href="https://github.com/tensorflow/tensorflow/blob/0b723590631432584d0761c03285eabb55116c6d/tensorflow/python/ops/rnn_cell_impl.py#L263" rel="nofollow noreferrer">doc</a> also points the same paper (specifically for gated) with <a href="http://arxiv.org/pdf/1406.1078v3.pdf" rel="nofollow noreferrer">link</a> given in Colah's article. Parameter <code>num_units</code> is the number of cells (assuming that is the hidden layer) corresponds to <code>output_size</code> due property <a href="https://github.com/tensorflow/tensorflow/blob/0b723590631432584d0761c03285eabb55116c6d/tensorflow/python/ops/rnn_cell_impl.py#L282" rel="nofollow noreferrer">definition</a>. </p>
Recurrent Neural Network (RNN) - Forget Layer, and TensorFlow
<p>I'm new to RNN, and I'm trying to figure out the specifics of LSTM cells and they're relation to TensorFlow: <a href="http://colah.github.io/posts/2015-08-Understanding-LSTMs/" rel="noreferrer">Colah GitHub</a>
<a href="https://i.stack.imgur.com/bdKbh.png" rel="noreferrer"><img src="https://i.stack.imgur.com/bdKbh.png" alt="enter image description here"></a>
Does the GitHub website's example uses the same LSTM cell compared to TensorFlow? The only thing I got on the TensorFlow site was that basic LSTM cells uses the following architecture: <a href="https://arxiv.org/pdf/1409.2329.pdf" rel="noreferrer">Paper</a> If it's the same architecture then I can hand compute the numbers for a LSTM cell and see if it matches.</p>

<p>Also when we set a basic LSTM cell in tensorflow, it takes in a <code>num_units</code> according to: <a href="https://www.tensorflow.org/versions/r0.11/api_docs/python/rnn_cell/rnn_cells_for_use_with_tensorflow_s_core_rnn_methods#BasicRNNCell" rel="noreferrer">TensorFlow documentation</a></p>

<pre><code>tf.nn.rnn_cell.GRUCell.__init__(num_units, input_size=None, activation=tanh)
</code></pre>

<p>Is this number of hidden state (h_t)) and cell state (C_t)?</p>

<p>According to the GitHub website, there isn't any mention the number of cell state and hidden states. I'm assuming they have to be the same number?</p>