Week 4, Exercise 9 (L_model_backward) IndexError

Hello everyone,
I’m getting the following error while implementing the L_model_backward() function. All previous functions work correctly. Could someone please help me figure out the issue?

Double check how you call linear_activation_backward again. Are you passing the right arguments? Use the help provided in comments.

You might also have an error when extracting current_cache.

1 Like

I found the issue. Thanks for your help!

1 Like

Cool, which one was it? linear_activation_backward or current_cache?

1 Like

linear_activation_backward. Passed in incorrect parameters. Read the comments and hints and fixed it. Thanks for the help!

1 Like