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

[XLA] Fix literal_comparison's handling of nan vs inf.

Previously, we'd always report expected nan vs. actual inf as a miscompare,
even if relaxed_nan was set.  This is just a bug; the intent of relaxed_nan is
to allow any actual value if the expected is nan.

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