Course 4: Assignment 1-Conv_Forward showing "name Error"


When i submit my C4-Assignment 1 on Conv_forward function i get the following error as pasted below , Has anybody come across such error? Iam not able to to understand the source of error since conv_forward_test is already defined, Would appreciate any feedback in this regard.

Thanks in advance,
…Error part of Code Below…
A_prev = np.random.randn(2, 5, 7, 4)
W = np.random.randn(3, 3, 4, 8)
b = np.random.randn(1, 1, 1, 8)
hparameters = {“pad” : 1,
“stride”: 2}

Z, cache_conv = conv_forward(A_prev, W, b, hparameters)
print(“Z’s mean =\n”, np.mean(Z))
print(“Z[0,2,1] =\n”, Z[0, 2, 1])
print(“cache_conv[0][1][2][3] =\n”, cache_conv[0][1][2][3])


Z’s mean =
Z[0,2,1] =
[-0.05723279 0.03991888 -6.24285862 0.53960581 -5.04059676 6.96991358
3.69509379 -0.20955895]
cache_conv[0][1][2][3] =
[-1.1191154 1.9560789 -0.3264995 -1.34267579]

NameError Traceback (most recent call last)
11 print(“cache_conv[0][1][2][3] =\n”, cache_conv[0][1][2][3])
—> 13 conv_forward_test(conv_forward)

NameError: name ‘conv_forward_test’ is not defined

That means your notebook is out of date. The course staff published a new version recently in which the test case functions have different names. Please see the “Get a Clean Copy” topic on the FAQ Thread. Get the clean copy and then carefully “copy/paste” over your solution code to the new notebook.

Thank you Paul, I can now work on the updated notebook and the error is not there, Appreciate the quick response