Add pooling transformations for fully connected layer