fixing a stride issue with convolutional layer