Code snippet from Assignment?

While working on the Building_your_Deep_Neural_Network_Step_by_Step assignment
I made a bunch of changes to the last code cell, the last graded function, and now I can’t tell what’s my code and what was provided there before.
Can somebody please post the original code for
def update_parameters(params, grads, learning_rate):
function/code cell?
thank you!

You can get the original code yourself by using the “get a clean copy” procedure documented on the DLS FAQ Thread. You’ll need to rename your notebook as part of the process, so you can just rename it back once you have the clean copy to compare.

It’s better if we don’t post the “template” code here, even though it’s not against the rules per se. We are only supposed to refrain from sharing our solutions. But the problem is that the assignments can be changed over time to fix bugs and make improvements. It wouldn’t be good to post it here in case it later becomes out of date and that ends up causing confusion.

Thank you, this is exactly what I was looking for.

Great! It’s always better to have things under your own control, rather than waiting for other folks to do things. BTW there are lots of other topics worth a look on the FAQ Thread, if that is new to you …