W2 assignment, update parameters with Adam

Dear Instructor,

In update parameter with Adam function I am having invalid syntax as shown below. I don’t see anything wrong in the syntax.

Pls help why I am getting wrong.

Best regards,
Sunita

Please do not forget to add right (close) parenthesis. It is always better to count the number of “open” and “close”.

And note that the place to look for the mistake is on the previous line. The notebook editor is “syntax aware”: just click on a parenthesis or bracket and it will highlight the matching one. Or not :scream_cat:

1 Like