 The input is a sequence of words, and the output is a fixed-length vector. Typical use case would be in sentiment analysis. The input could be the words of a movie or product review, and the output could be a two-dimensional vector indicating whether the review was positive or negative.