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

question about function get_state? #30

Open
hustcxx opened this issue Aug 23, 2021 · 0 comments
Open

question about function get_state? #30

hustcxx opened this issue Aug 23, 2021 · 0 comments

Comments

@hustcxx
Copy link

hustcxx commented Aug 23, 2021

in function get_state (),return Variable(torch.zeros(bsz, self.embedding_dim)).cuda(),and then is used in forward function of
prob = self.softmax(torch.sum(m_A*u_temp, 2)),isn't the result zero???

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