Problem with 2st programming assignment week 4

Hi, I’m working on the first programming assignment of week 4 (“Building your Deep Neural Network: Step by Step”) of the 1st course.

I am having problems with the function L-model_forward(). Apparently there is a problem when trying to compute AL (yhat): "ValueError: shapes (1,3) and (4,4) not aligned: 3 (dim 1) != 4 (dim 0).

I understand maybe there is a problem with computing the np.dot product in the function linear_forward, but I can’t see why and all the tests for that function are passed.

Can someone help me, please?

Please post a screen capture image that shows the assert stack or any error messages.

I am confused. You’ve posted in the MLS Course 1 forum, but that course doesn’t cover Deep Neural Networks, and it only has three weeks.

Which course are you enrolled in?