Leveraging a fully connected layer for classification