An LSTM encoder.