Week 3 Exercise 3 - Initializing parameters

Hi,

I’m stuck in the initializing parameters section. I’ve implemented my code and to me, the output from my code looks exactly like the expected output, but I get an ‘incorrect dimensions’ error.

I’ve gone through the other posts that mention this error, and have taken care that I haven’t made the mistake of using ‘rand’ instead of ‘randn’, and have checked my output values and the signs carefully, but I’ve been unable to pick up the error here.

Any pointers are greatly appreciated!

Please be sure to use the correct shapes when calling randn. Use function parameters instead of hardcoding values.

1 Like

Hi Kavya,

Welcome to the community.

Balaji is correct. Besides what he has mentioned, look for missing close parentheses (if any).

1 Like