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

Add clipping to sigmoid reciprocal method #130

Closed
wants to merge 1 commit into from

Conversation

knottb
Copy link
Contributor

@knottb knottb commented Jun 3, 2020

Summary:
Added clipping to sigmoid reciprocal method that can be adjusted or turned off using MPCConfig's sigmoid_tanh_clip_value attribute.

The purpose of this is to prevent very large inputs to significantly affect the output of the sigmoid.

Differential Revision: D21870906

Summary:
Added clipping to sigmoid reciprocal method that can be adjusted or turned off using MPCConfig's `sigmoid_tanh_clip_value` attribute.

The purpose of this is to prevent very large inputs to significantly affect the output of the sigmoid.

Differential Revision: D21870906

fbshipit-source-id: 43da9d990252d980a0d9045c2d93a9b62a208e04
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Jun 3, 2020
@facebook-github-bot
Copy link
Contributor

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

@knottb knottb closed this Jun 30, 2020
tanjuntao pushed a commit to tanjuntao/CrypTen that referenced this pull request Nov 27, 2023
Summary:
Pull Request resolved: fairinternal/CrypTen#130

running out mem for RTD if we pick up non CPU bits

(Note: this ignores all push blocking failures!)

Reviewed By: knottb, marksibrahim

Differential Revision: D17842631

fbshipit-source-id: 334797680711ca5decbcb1fb5f9dfa96a2b44a42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants