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

[XLA] Make kSign return NaN for NaN inputs

Also correct tf.math.sign for NaN inputs, we returned +1.0 instead of 0.0.

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