Different 2D convolution results between keras and scipy
问题 I found some results difficult to understand when trying to debug my neural network. I tried to do some computations offline using scipy (1.3.0), and I am not having the same results as with keras (2.3.1) with a tensorflow (1.14.0) backend. Here is a minimal reproducible example: from keras.layers import Conv2D, Input from keras.models import Model import numpy as np from scipy.signal import convolve2d image = np.array([[-1.16551484e-04, -1.88735046e-03, -7.90571701e-03, -1.52302440e-02, -1