FFT-based convolutions for convolutional neural networks