Hello. On exercise 5 I am getting the error “UnboundLocalError: local variable ‘linear_cache’ referenced before assignment”. I’m not sure what’s happening. I’m using the previous functions with variables passed in such as the parameters at the index of the string value using the letter W or b and the number l which is assigned by the for loop.
Resolved. had to pass the string name for relu
Thanks for your report.

“relu” should be a text string, not a variable name.
And for good form, add activation = in front of it.
resolved had to use “relu” and “sigmoid” instead of relu and sigmnoid
Thank you TMosh ![]()
