Commit daafc657 authored by David Majnemer's avatar David Majnemer Committed by TensorFlower Gardener
Browse files

[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
parent 6f0e971c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment