Design Space Exploration of Convolutional Neural Networks for Image Classification