amanchadha / coursera-deep-learning-specialization

Notes, programming assignments and quizzes from all courses within the Coursera Deep Learning specialization offered by deeplearning.ai: (i) Neural Networks and Deep Learning; (ii) Improving Deep Neural Networks: Hyperparameter tuning, Regularization and Optimization; (iii) Structuring Machine Learning Projects; (iv) Convolutional Neural Networks; (v) Sequence Models
3.14k stars 2.27k forks source link

C2-W2 Optimization_methods task update_parameters_with_adam needs updatation #22

Open opticSquid opened 2 years ago

opticSquid commented 2 years ago

The older function used to return 3 variables parameters,v,s like

return parameters,v,s

At the end of the function but for now the tests got updated and now it wants to get 5 variables returned to test the function. So the function here also needs to be updated to reflect that.

See the newer version of test it wants to unpack 5 values from the function in place of 3 as with the previous versions new_tests This is the older code in this repo that returned 3 variables only. I have included the older version of test also here that wanted to unpack 3 variables. image