Course 4 week 3 coding


I am not sure what i am doing wrong in my code. thank you

Hey @Chelnnexy,
Welcome back! As per your error statement, you are trying to do element-wise multiplication on 2 matrices that neither have the same dimensions nor are broadcastable, and that’s why the error.

Please check the dimensions of your variables using simple print statements, and also confirm, if you are performing the required mathematical operations or not.

Let us know if this helps.

Cheers,
Elemento

thanks a lot, I found the error. :slight_smile: