I don’t get dA0 from L_model_backward()
Can you you share the screenshot of the full error log?
KeyError in Python is raised when you attempt to access a key that is not in a dictionary.
Check here again if there needs some correct based on instructions
The for loop starts at 1 because layer 0 is the input
caches – list of caches containing:
every cache of linear_activation_forward() (there are L of them, indexed from 0 to L-1)
Regards
DP
Thanks for the hint, it was an indexing error. Got resolved.