Summary: | Make scalar and packet paths consistent | ||||||
---|---|---|---|---|---|---|---|
Product: | Eigen | Reporter: | Gael Guennebaud <gael.guennebaud> | ||||
Component: | Core - vectorization | Assignee: | Nobody <eigen.nobody> | ||||
Status: | DECISIONNEEDED --- | ||||||
Severity: | Accuracy Problem | CC: | chtz, gael.guennebaud, jacob.benoit.1, markos, rmlarsen | ||||
Priority: | Normal | ||||||
Version: | 3.4 (development) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Bug Depends on: | |||||||
Bug Blocks: | 814 | ||||||
Attachments: |
|
Description
Gael Guennebaud
2019-11-14 14:29:55 UTC
Created attachment 960 [details] Patch to make the logistic function scalar-SIMD consistent Here is a first patch for the logistic/sigmoid function. See also: https://github.com/tensorflow/tensorflow/issues/33878 Please comment! I agree, we should always call the same implementation. Having (even slightly) different results for the same input is not good. For odd-sized inputs we should actually think about loading/storing partial packets (cf. Bug 692 comment 15), instead of doing a scalar loop at the end. In Bug 1687 I suggested something like EIGEN_USE_SIMD_MATH_FUNCTIONS (but dropping EIGEN_FAST_MATH). -- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1777. |