Learning strides in convolutional neural networks