Skip to content
Commit 184629a7 authored by Juan Miguel Pino's avatar Juan Miguel Pino Committed by Facebook Github Bot
Browse files

Add onnx_trace argument for learned embeddings (#492)

Summary:
Pull Request resolved: https://github.com/pytorch/fairseq/pull/492

This argument was missing so we cannot export Transformer if we use learned positional embeddings. See also https://github.com/pytorch/translate/pull/335

Reviewed By: jhcross

Differential Revision: D13984781

fbshipit-source-id: 2187377e952ff587e07237de312c5b68f7d68891
parent fbd4cef9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment