[XLA] Add sqrt and rsqrt opcodes
Pow(x, y) acts like std::pow which complicates trying to use Pow(x, 0.5) to implement sqrt. Pow(-0, 0.5) is +0 but Sqrt(-0) should be -0. As such, it makes sense to provide an explicit Sqrt and Rsqrt. PiperOrigin-RevId: 235105846
Loading
Please sign in to comment