There is no padding layer in dev, please move the needed pad to the convolutional layer