The max pooling operation returns a vector of the same dimensions as the constituent vector representations, where each component of the vector is the maximum value of that component of the m constituent vectors. Mean pooling involves taking a component-wise sum of the constituent vector representations of the composition and dividing them by the total number of atoms in the composition: