Commit e073ddfe authored by vineetk1's avatar vineetk1 Committed by Facebook Github Bot
Browse files

PR for Issue #1154: Two comments in lstm.py seem to be incorrect

Summary: Pull Request resolved: https://github.com/pytorch/fairseq/pull/1185

Differential Revision: D17602249

Pulled By: lematt1991

fbshipit-source-id: bd515b7d2ebce8181a80684f45223a8db7c7e3cd
parent fa7dea6b
......@@ -281,9 +281,9 @@ class AttentionLayer(nn.Module):
def forward(self, input, source_hids, encoder_padding_mask):
# input: bsz x input_embed_dim
# source_hids: srclen x bsz x output_embed_dim
# source_hids: srclen x bsz x source_embed_dim
# x: bsz x output_embed_dim
# x: bsz x source_embed_dim
x = self.input_proj(input)
# compute attention
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment