Commit graph

3 commits

Author SHA1 Message Date
Yangqing Jia
8286ce1e3a Re-license to Apache
Summary: Closes https://github.com/caffe2/caffe2/pull/1260

Differential Revision: D5906739

Pulled By: Yangqing

fbshipit-source-id: e482ba9ba60b5337d9165f28f7ec68d4518a0902
2017-09-28 16:22:00 -07:00
Luke Yeager
005156f6b4 Fix gradient checking for softplus op
Summary:
kmatzen why did you set the stepsize in ff84e7dea6?

The test is flaky before this change. Solid afterwards.
Closes https://github.com/caffe2/caffe2/pull/841

Differential Revision: D5292112

Pulled By: akyrola

fbshipit-source-id: c84715261194ff047606d4ec659b7f89dac3cbb1
2017-06-21 05:35:43 -07:00
Kevin Matzen
0cb7774445 softplus op
Summary: Added softplus function, f(x) = ln(exp(x) + 1)

Reviewed By: akyrola

Differential Revision: D5011057

fbshipit-source-id: 5fddb1568fee625f81ea3a86a85d0f400c3ee278
2017-05-08 10:40:25 -07:00