removing tensor resizing in future_mask (#877)
Summary: tensor resizing doesn't work well with tpus, this change is equivalent to the base and works better w/ tpus. Pull Request resolved: https://github.com/pytorch/fairseq/pull/877 Differential Revision: D16241620 Pulled By: myleott fbshipit-source-id: 402c7d5eb6175a66a0420d10e74eb0a9e085790e
Showing
Please register or sign in to comment