The max layer is used to generate a fix-size feature vector from variant length sequences.
given a document represented by a matrix M ∈ R m×n , where the kth column is the word embedding of the kth word in the document, the max layer output a vector f max (M ): where t = {1, 2, .