Week 1 Assignment 3 Gradient Check N

For the life of my I have been unable to properly use forward_propegation_n. I am getting the following error:

ValueError: cannot copy sequence with size 2 to array axis with dimension 1

Does anyone have any advice as to what I should be looking at in order to fix this?

I resolved this, it was quite a simple mistake, I just didn’t account for the extra output when using the function. Hence it not being able to copy a size 2 to a dimension 1 matrix.

Hi Andres,

Glad you were able to figure it out on your own.

Happy learning,
Mubsi