-
Notifications
You must be signed in to change notification settings - Fork 139
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
Why move output to cpu? #18
Comments
Hi @ryh95 Regarding the difference between |
I noticed that in test function of trainer module
you write
output = output.data.squeeze().cpu()
Why you move
output
to cpu ?By the way
in SimilarityTreeLSTM of model module
output = self.similarity(lstate, rstate)
Why don't use
output = self.similarity(lhidden, rhidden)
The text was updated successfully, but these errors were encountered: