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

Understanding GRUCellEx module #124

Open
hagianga21 opened this issue May 15, 2019 · 2 comments
Open

Understanding GRUCellEx module #124

hagianga21 opened this issue May 15, 2019 · 2 comments

Comments

@hagianga21
Copy link

Hi, in GRUCellEx, the code:
hy = newgate + inputgate * (hidden - newgate)

But in the paper: you wrote:
h_i_(t+1) = (1-u_i_(t)) * q_i_(t) + u_i_(t) * h_i_(t)

Could you please help me explain this difference? Thank you so much

@hagianga21
Copy link
Author

Ops, you code the equation in different way. I understand. But in:
i_r, i_i, i_n = gi.chunk(3, 1)
you set
i_r = x3
i_i = x2
i_n = x1
Why don't you set i_r = x1, i_i = x2, i_n = x3 to similar your paper?

@loicland
Copy link
Owner

Hi,

Which equation of the paper are you referring to exactly? What are the xi you are referring to?

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

2 participants