[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
Loading
Please sign in to comment
Also correct tf.math.sign for NaN inputs, we returned +1.0 instead of 0.0. PiperOrigin-RevId: 232523293