Skip to content

Should X[i] and y[i] be included inside the "for" structure? #7

Description

@YuboLuo

Hi Trung, I am trying to implement your code, but there is one line I couldn't understand. In the RNN_utils.py, Line 38 and Line 45. I think "X[i] = input_sequence" should be executed after the whole loop of “for j in range(seq_length)” is finished. In other words, "X[i] = input_sequence" should not be included inside the "for" loop. So does y[i] in Line 45. Is my understanding right? Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions