Convolutional neural network for CIFAR-10