The feature maps were flattened to obtain the fully connected layer after the last convolutional layer.