W4 First Programming Assignment - Exercise 4

Hi,
I’m completely stuck in exercise 4 of the first programming problem. Precisely there are two caches to take into account.
The activation_cache comes directly from the activation function (sigmoid or relu): no problem.
But I have no idea what to put in the linear_cache.
Can you help me for that?

Thanks,
Regards,
Pierre (from France)

I have the answer because this subject was already discussed several times.
Everything is OK with this code:

linear_cache = (A_prev, W, b)

Bye

Hey @Pierre_BEJIAN,
Glad you were able to figure it out by yourself, after all, nothing is better than that :nerd_face:

Cheers,
Elemento

1 Like