A generalized framework of feature learning enhanced convolutional neural network for pathology-image-oriented cancer diagnosis