diff options
author | 2018-07-19 08:51:32 -0700 | |
---|---|---|
committer | 2018-07-19 08:54:32 -0700 | |
commit | daafc6571a4817b1313b7c243fbd35e3a9f12dab (patch) | |
tree | 6c438e5d3274ba106c042cb5f656a46b36b5b917 /tensorflow/cc | |
parent | 6f0e971c30654b02e3ed2f1bc4d3f09b584668e7 (diff) |
[XLA] Don't use Pow for simple expressions
Using Pow to handle squaring or taking the reciprocal is overkill, Pow is not going to be as accurate as the straightforward formulation without relying on optimization in the compiler or the Pow implementation to kick in.
PiperOrigin-RevId: 205247912
Diffstat (limited to 'tensorflow/cc')
0 files changed, 0 insertions, 0 deletions