Skip to content

Constrain Prelu negative slope - #3312

Closed
jyegerlehner wants to merge 3 commits into
BVLC:masterfrom
jyegerlehner:constrain-prelu-slope
Closed

Constrain Prelu negative slope#3312
jyegerlehner wants to merge 3 commits into
BVLC:masterfrom
jyegerlehner:constrain-prelu-slope

Conversation

@jyegerlehner

Copy link
Copy Markdown
Contributor

This PR allows the negative slope on a PReLU unit to be constrained between min and max values which default to zero and -1.0. Which means it constrains the PReLU to be between ReLU and a linear unit. As the PR stands, this is now the default behavior, but could be changed to leave the negative slope unconstrained by default.

[Edited for clarity, after seanbell replied.]

Comment thread include/caffe/layer.hpp Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oops

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.

2 participants