You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.
In class BahdanauAttnDecoderRNN, Should "word_embedded = self.embedding(word_input).view(1, 1, -1) # S=1 x B x N" be " word_embedded = self.embedding(word_input).view(1, word_input.size(0), -1) # S=1 x B x N"?
Because in the case of this tutorial, batch_size is not equal to 1.(word_input.size(0) is the batch_size)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In class BahdanauAttnDecoderRNN, Should "word_embedded = self.embedding(word_input).view(1, 1, -1) # S=1 x B x N" be " word_embedded = self.embedding(word_input).view(1, word_input.size(0), -1) # S=1 x B x N"?
Because in the case of this tutorial, batch_size is not equal to 1.(word_input.size(0) is the batch_size)
The text was updated successfully, but these errors were encountered: