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

代码理解 #4

Open
ynyxxy opened this issue Jul 19, 2016 · 1 comment
Open

代码理解 #4

ynyxxy opened this issue Jul 19, 2016 · 1 comment

Comments

@ynyxxy
Copy link

ynyxxy commented Jul 19, 2016

在RNN.py中的class GRU():def init_params(self)中设置的参数都是什么,只看出来隐层到输出层的

@hit-computer
Copy link
Owner

这个代码中只有一层RNN,所以只有一个隐含层。其中input_dim是输入向量的维度(即词向量的维度),sdim是神经网络隐层维度。

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