W4_A2_Ex-2_"Backward propagation" and "grads"

Hello,

On my end, I am observing below for Week 4 Part 2 Exercise 2. Is it really combined or should it be defined separately.

    # Backward propagation.
    #(≈ 1 line of code)
    # grads = ...    
    # YOUR CODE STARTS HERE

    # YOUR CODE ENDS HERE

QUERY:

  1. Would sections of Backward propagation and grads be defined separately.

  2. Shouldn’t there be one line of Code EACH for Backward propagation and grads.

  3. I do not have access to module “def L_model_backward(AL, Y, caches):”

  • Please suggest name of return variables for L_model_backward.

Sincerely,
A

1 Like

You have access to it. It is already imported in the first cell.
In assignment 1 of this week, you defined all the functions and in this assignment, you just need to call them.

I think the below screenshot from the assignment will answer all of your questions.