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

Implementing Softplus operator #4690

Merged
merged 5 commits into from
Oct 11, 2017
Merged

Conversation

kexinzhao
Copy link
Contributor

Fixes #4442

Original formula: y = log (1 + exp(x))

Following similar trick as in #4663 for numerical stability (reference below):
https://hips.seas.harvard.edu/blog/2013/01/09/computing-log-sum-exp/

@dzhwinter
Copy link
Contributor

LGTM, but need to fix conflict first. You need to pull rebase the latest develop branch.

Copy link
Contributor

@dzhwinter dzhwinter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kexinzhao kexinzhao merged commit 9995aed into PaddlePaddle:develop Oct 11, 2017
@kexinzhao kexinzhao deleted the softplus_op branch November 15, 2017 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants