We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
请问下面这个代码 embedded = self.embedding(x).view(self.sentence_length, 1, -1) # seq_len * batch_size * word_size 注释是不是有问题,我觉得应该是seq_len * 1 * word_size 而且,view成这样,能对batch_size > 1的样本进行训练吗
embedded = self.embedding(x).view(self.sentence_length, 1, -1) # seq_len * batch_size * word_size
seq_len * 1 * word_size
The text was updated successfully, but these errors were encountered:
No branches or pull requests
请问下面这个代码
embedded = self.embedding(x).view(self.sentence_length, 1, -1) # seq_len * batch_size * word_size
注释是不是有问题,我觉得应该是
seq_len * 1 * word_size
而且,view成这样,能对batch_size > 1的样本进行训练吗
The text was updated successfully, but these errors were encountered: