title: Value Error while setting up Recurrent Neural Network in TensorFlow
body: <p>I'm trying to build a Recurrent Neural Network</p>
  
  <pre class="lang-py prettyprint-override"><code>def setupRNN(self):
          "create RNN layers and return output of these layers"
          rnnIn3d = tf.squeeze(self.cnnOut4d, axis=[2])
  
          # basic cells which is used to build RNN
          numHidden = 256
          cells = [tf.contrib.rnn.LSTMCell(num_units=numHidden, state_is_tuple=True) for _ in range(2)] # 2 layers
  
          # stack basic cells
          stacked = tf.contrib.rnn.MultiRNNCell(cells, state_is_tuple=True)
  
          # bidirectional RNN
  
          ((fw, bw), _) = tf.nn.bidirectional_dynamic_rnn(cell_fw=stacked, cell_bw=stacked,
                                                          inputs=rnnIn3d,dtype=rnnIn3d.dtype)
  
  
          # BxTxH + BxTxH -&gt; BxTx2H -&gt; BxTx1X2H
          concat = tf.expand_dims(tf.concat([fw, bw], 2), 2)
  
          # project output to chars (including blank): BxTx1x2H -&gt; BxTx1xC -&gt; BxTxC
          kernel = tf.Variable(tf.truncated_normal([1, 1, numHidden * 2, len(self.charList) + 1], stddev=0.1))
          self.rnnOut3d = tf.squeeze(tf.nn.atrous_conv2d(value=concat, filters=kernel, rate=1, padding='SAME'),
                                         axis=[2])
  </code></pre>
  
  <p>and it returns error as</p>
  
  <pre><code>ValueError: Variable bidirectional_rnn/fw/multi_rnn_cell/cell_0/lstm_cell/kernel already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope? Originally defined at:
  </code></pre>