Spectral pruning of fully connected layers