import tensorflow as tf

      return c

    # Create the bi-directional LSTM
    with tf.variable_scope('wordrnn'):
      with tf.variable_scope('fw'):
        cell_fw = GetCell()
      with tf.variable_scope('bw'):
        cell_bw = GetCell()

      rnnout, _, _ = tf.nn.bidirectional_rnn(cell_fw, cell_bw, self._inputs,
                                             dtype=tf.float32,
                                             sequence_length=self.seq_lens)
