import tensorflow as tf

                conv_outputs_ = encoder_inputs_

                if encoder.conv_lstm_size:
                    cell = BasicConvLSTMCell([feature_size, channels], encoder.conv_lstm_size, 1)
                    encoder_inputs_, _ = tf.nn.bidirectional_dynamic_rnn(
                        cell, cell, encoder_inputs_,
                        dtype=tf.float32
                    )
                    encoder_inputs_ = tf.concat(encoder_inputs_, axis=2)

            if encoder.convolutions:
                if encoder.binary:
                    raise NotImplementedError

                pad = tf.nn.embedding_lookup(embeddings, utils.BOS_ID)
                pad = tf.expand_dims(tf.expand_dims(pad, axis=0), axis=1)
