DLS Course 1 Week 2 Exercise 5 - propogate "dw" is wrong

It looks like you have an old version of that notebook. Here’s what that test cell looks like in my Week 2 notebook:

w =  np.array([[1.], [2]])
b = 1.5
X = np.array([[1., -2., -1.], [3., 0.5, -3.2]])
Y = np.array([[1, 1, 0]])
grads, cost = propagate(w, b, X, Y)

assert type(grads["dw"]) == np.ndarray
assert grads["dw"].shape == (2, 1)
assert type(grads["db"]) == np.float64


print ("dw = " + str(grads["dw"]))
print ("db = " + str(grads["db"]))
print ("cost = " + str(cost))

propagate_test(propagate)

You can see that it is different. I suggest you start by getting a clean copy of the notebook and then “copy/paste” over your code, which looks correct to me. There is a topic about that on the FAQ Thread. Make sure when you follow those directions that you also delete all the “dot py” files, e.g. public_tests.py, to make sure you have a coherent set of files.