Skip to content

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

@YuboLuo

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.

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