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

The discrepancy between DARTS and ENAS for RNN cell searching #156

Open
cocovoc opened this issue Mar 4, 2021 · 0 comments
Open

The discrepancy between DARTS and ENAS for RNN cell searching #156

cocovoc opened this issue Mar 4, 2021 · 0 comments

Comments

@cocovoc
Copy link

cocovoc commented Mar 4, 2021

Hi,everyone
I got confused when I read the code.
In rnn/model_search.py line 28

ch = masked_states.view(-1, self.nhid).mm(self._Ws[i]).view(i+1, -1, 2*self.nhid)
It seems that hidden states of all predecessor share the same matrix: H_{3} = WH{0}+WH{1}+W*H{2}
Actually, I think right computation is H_{3} = W_{0,3}*H{0}+W_{1,3}*H{1}+W_{2,3}*H{2}.

Any knows the reason why author uses the same matrix? just only for saving memory?

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