Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusion in train.py #116

Open
amy-cao opened this issue Dec 15, 2017 · 0 comments
Open

Confusion in train.py #116

amy-cao opened this issue Dec 15, 2017 · 0 comments

Comments

@amy-cao
Copy link

amy-cao commented Dec 15, 2017

Hi, may I ask what does Line 115-117 do in train.py?
for i, (c, h) in enumerate(model.initial_state): feed[c] = state[i].c feed[h] = state[i].h
In the previous line, doesn't the x and y has already assigned to 'feed' already?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant