[XLA] In literal_comparison, set absolute error and relative error to infinity
if: - expected is infinity - actual != expected This prevents Near from generating a NaN for relative error. Also compare the real and imaginary parts of complex numbers independently. PiperOrigin-RevId: 210637112
Loading
Please sign in to comment