This is the “2hidden” test case for L_model_forward
. The output should be 1 x 4, but yours turns out to be 3 x 4. So now you need to figure out how that happened. Here’s a thread which walks you through the “dimensional analysis”. That should give you a way to figure out where the problem is.
1 Like