A single-layer LSTM encoder with attention.