We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
GRU的隐状态更新代码理应是:hidden_state = U * H_tilda + (1 - U) * hidden_state 而非书中的hidden_state = (1 - U) * H_tilda + U * hidden_state
The text was updated successfully, but these errors were encountered:
经检查,确实存在书中公式与代码不一致的情况,我们会在后续更改。
不过在实践中,这两种写法没有区别,U与(1-U)是等价的。
Sorry, something went wrong.
No branches or pull requests
GRU的隐状态更新代码理应是:hidden_state = U * H_tilda + (1 - U) * hidden_state
而非书中的hidden_state = (1 - U) * H_tilda + U * hidden_state
The text was updated successfully, but these errors were encountered: