Week1 Assignment 3 UNQ_C2

Here’s is what the template code looks like:

    # Step 2: Loop over tx
    for t in range(None):
        
        # Step 2.A: select the "t"th time step vector from X. 
        x = None
        # Step 2.B: Use reshaper to reshape x to be (1, n_values) (≈1 line)
        x = None
        # Step 2.C: Perform one step of the LSTM_cell
        a, _, c = None
        # Step 2.D: Apply densor to the hidden state output of LSTM_Cell
        out = None
        # Step 2.E: add the output to "outputs"
        None

See the comment there about reshaper? Of course your method should also work. Are you sure you actually clicked “Shift-Enter” on the function after you changed it? If you don’t do that, it just runs the old code again. Here’s a thread which talks about how the notebooks work.