Vector Quantization of Deep Convolutional Neural Networks with Learned Codebook