Skip to content

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/

@kexinzhao kexinzhao requested a review from dzhwinter October 10, 2017 23:29
@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.

2 participants