Closed cndn closed 4 years ago
This pull request was exported from Phabricator. Differential Revision: D18648224
This pull request was exported from Phabricator. Differential Revision: D18648224
This pull request was exported from Phabricator. Differential Revision: D18648224
Summary: After internal version is introduced and transformer uses namedtuple instead of dict, need to update the export code accordingly.
Also we used torch.empty([0]) to represent initial attention instead of None, to unify the data type in TorchScript.
Differential Revision: D18648224