text
text copied to clipboard
Add support for return_all_layers with nested tensor in torchtext
Summary: As we may automatically switch to use nested tensor, we need further support of this in torchtext, especially for return_all_layers
Reviewed By: mikekgfb, parmeet
Differential Revision: D36213184
This pull request was exported from Phabricator. Differential Revision: D36213184