Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script SinusoidalPositionalEmbedding #1612

Closed
wants to merge 2 commits into from

Conversation

cndn
Copy link
Contributor

@cndn cndn commented Jan 12, 2020

Summary: Make SinusoidalPositionalEmbedding scriptable. Mostly adding types. The only change that affects lots of downstream code is to have max_positions as member variable instead of method.

Differential Revision: D18924939

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D18924939

Differential Revision: D18925110

fbshipit-source-id: 1709620ba8f4a49d931101ecd209e90e5b46947d
Summary:
Pull Request resolved: facebookresearch#1612

Make SinusoidalPositionalEmbedding scriptable. Mostly adding types. The only change that affects lots of downstream code is to have max_positions as member variable instead of method.

Reviewed By: myleott

Differential Revision: D18924939

fbshipit-source-id: d88dbad21f32d1445bfcd6e6f580ab8367b965da
cndn added a commit to cndn/translate that referenced this pull request Jan 22, 2020
Summary:
Pull Request resolved: facebookresearch/fairseq#1612

Make SinusoidalPositionalEmbedding scriptable. Mostly adding types. The only change that affects lots of downstream code is to have max_positions as member variable instead of method.

Reviewed By: myleott

Differential Revision: D18924939

fbshipit-source-id: 12fd5f1dd3f0f25a6a48e2d02a620279b59c954d
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D18924939

facebook-github-bot pushed a commit that referenced this pull request Jan 22, 2020
Summary:
Pull Request resolved: pytorch/translate#683

Pull Request resolved: #1612

Make SinusoidalPositionalEmbedding scriptable. Mostly adding types. The only change that affects lots of downstream code is to have max_positions as member variable instead of method.

Reviewed By: myleott

Differential Revision: D18924939

fbshipit-source-id: 2b6486563e9ec5cc34bcf11acdff9054658f4674
moussaKam pushed a commit to moussaKam/language-adaptive-pretraining that referenced this pull request Sep 29, 2020
Summary:
Pull Request resolved: pytorch/translate#683

Pull Request resolved: facebookresearch#1612

Make SinusoidalPositionalEmbedding scriptable. Mostly adding types. The only change that affects lots of downstream code is to have max_positions as member variable instead of method.

Reviewed By: myleott

Differential Revision: D18924939

fbshipit-source-id: 2b6486563e9ec5cc34bcf11acdff9054658f4674
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants