I’m having this error. I think it’s coming from my shape parameter when initializing the w, b to zeros.

I’ve tried modifying it in as many ways as I can think of but alas…:sweat_smile:
Somebody help…

You have to use initialize_with_zeros function to initialize parameters.

Oops…I’ve changed it…
I’m now getting this error yet all tests are passed in the previous functions

In your model function, what is X and Y? Your model don’t know them. Think about it. If my arguments to model is Z, then using z or any other variable, other than Z, is wrong. Also, do not hard-code num_iterations and learning_rate.