This repository has been archived by the owner on Nov 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 799
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Making seq2seq_model more torchscript-friendly
Summary: seq2seq_model.py changes: - removes dependence on _ when unpacking the tensor dicts - explicit None checks on dict feats Differential Revision: D23673319 fbshipit-source-id: a50efc6418af57cb2fa89273ddb14d51ca13b0e5
- Loading branch information
1 parent
3e7b626
commit 4d401d3
Showing
1 changed file
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters