Skip to content

Conversation

@abhinavarora
Copy link
Contributor

Fixes #4612

@abhinavarora abhinavarora self-assigned this Oct 10, 2017
@abhinavarora
Copy link
Contributor Author

Forward Pass:
f(x) = x for x > threshold, f(x) = 0 otherwise

Gradient:
f'(x) = 1 for x > threshold, f'(x) = 0 otherwise

zchen0211
zchen0211 previously approved these changes Oct 10, 2017
Copy link
Contributor

@zchen0211 zchen0211 left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Member

@QiJune QiJune left a comment

Choose a reason for hiding this comment

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

LGTM

@abhinavarora abhinavarora merged commit b504a23 into PaddlePaddle:develop Oct 11, 2017
@abhinavarora abhinavarora deleted the thresholdedrelu branch October 11, 2017 17:41
Copy link
Contributor

@zchen0211 zchen0211 left a comment

Choose a reason for hiding this comment

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

LGTM

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.

3 participants