diff options
author | Rasmus Munk Larsen <rmlarsen@google.com> | 2019-12-02 17:00:58 -0800 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2019-12-02 17:00:58 -0800 |
commit | 66f07efeaed39d6a67005343d7e0caf7d9eeacdb (patch) | |
tree | eadca4e63e328bd8546dab9481c1d69d42dd30fe /Eigen/src/Core/StlIterators.h | |
parent | 3b15373bb3b0cf13986d8e8579ee0e6ee0359631 (diff) |
Revert the specialization for scalar_logistic_op<float> introduced in:
https://bitbucket.org/eigen/eigen/commits/77b447c24e3344e43ff64eb932d4bb35a2db01ce
While providing a 50% speedup on Haswell+ processors, the large relative error outside [-18, 18] in this approximation causes problems, e.g., when computing gradients of activation functions like softplus in neural networks.
Diffstat (limited to 'Eigen/src/Core/StlIterators.h')
0 files changed, 0 insertions, 0 deletions