Commit d2e6f013 authored by Justin Lebar's avatar Justin Lebar Committed by TensorFlower Gardener
Browse files

[XLA:CPU] Use vectorized implementation for all calls to log/exp/tanh.

Previously, we used llvm.{log,exp,tanh}.f32 when we failed to vectorize and for
the tail of vectorized loops.  The latter was particularly problematic because
the LLVM intrinsic doesn't have the same numeric properties as our vectorized
implementation, and so we'd get different numerics for different output
elements!

PiperOrigin-RevId: 231869262
parent dd84a42a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment