Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

created bilstm dropout condition #769

Closed

Conversation

shreydesai
Copy link
Contributor

Summary: Only drops out embedded_tokens if there is a non-zero probability in the dropout layer. This prevents recomputing a dropout mask even when it isn't required.

Differential Revision: D16190467

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jul 10, 2019
Summary:
Pull Request resolved: facebookresearch#769

Only drops out embedded_tokens if there is a non-zero probability in the dropout layer. This prevents recomputing a dropout mask even when it isn't required.

Differential Revision: D16190467

fbshipit-source-id: 67ec1d38fa0c5bd5f3bcddccaf10a30d6bae5c80
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 6c87185.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants