Added a comment to inform coders that pack_padded_sequence requires that...
Added a comment to inform coders that pack_padded_sequence requires that padding must be on the right (#860) Summary: The PyTorch document on pack_padded_sequence has no information regarding a requirement that padding must be on the right. Therefore, this information is added as a comment on Line 212 of [https://github.com/vineetk1/fairseq/blob/master/fairseq/models/lstm.py](url) Pull Request resolved: https://github.com/pytorch/fairseq/pull/860 Differential Revision: D16142102 Pulled By: myleott fbshipit-source-id: 7cb6d4df64b17b54b223de03bd966ca16077c3fe
Showing
Please register or sign in to comment