Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extended api of LSTM encoder. (#2030)
Summary: # Before submitting - [ ] Was this discussed/approved via a Github issue? (no need for typos, doc improvements) - [x] Did you read the [contributor guideline](https://github.com/pytorch/fairseq/blob/master/CONTRIBUTING.md)? - [x] Did you make sure to update the docs? - [ ] Did you write any new necessary tests? ## What does this PR do? Fixes #1862. Nobody responded to my issue. Nevertheless change is very small, therefore i think is doesn't need much discussion. ## PR review Anyone in the community is free to review the PR once the tests have passed. If we didn't discuss your PR in Github issues there's a high chance it will not be merged. ## Did you have fun? Make sure you had fun coding � Pull Request resolved: #2030 Reviewed By: joshim5, ngoyal2707 Differential Revision: D21584250 Pulled By: myleott fbshipit-source-id: 28f0ccaca0df2860806178dbce02bcc12d7115d4
- Loading branch information