import tensorflow as tf

        c = tf.nn.rnn_cell.DropoutWrapper(c, input_keep_prob=dropout_keep_prob)
      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'):
