C2_W1 Exercise 3.Vectorized Numpy

hi everybody.

When running the test cell to return A_out, it outputs : Assertion error-check the dot product.

when i try to reshape b to b.reshape(m,j), it returns, j is not defined.

What is wrong in the line : Z = np.matmul(A_in, W) + b ?

Hi @Kazoule

when you used z=np.matmul(… , …)+… but after that you want to get the output of activation function (Enter the z output in activation function) so you want to call function g(…) and give it the output z
(you will not change the dimentions of b)
please feel free to ask any question,

This thread is posted in the Course 1 discussion area, but the subject implies it is for Course 2.