torch/nn — pull request #18 by jonathantompson (2014-06-25 20:56:52+00:00)
Title: Softplus improved

For large inputs the original SoftPlus breaks. The new version fixes this with a branching condition.

Additionally, I added a (non-learnable) beta parameter, which controls the peakiness of the SoftPlus transfer function (I updated the documentation).