BEGIN_PUBLIC
Make tf.min, tf.max always propagate NaNs. Previously these ops followed the semantics of std::min and std:max and forwarded the first argument if either was NaN.
Similarly, make tf.reduce_min, and tf.reduce_max return NaN if any element among thos reduced are NaN.
END_PUBLIC

PiperOrigin-RevId: 338194828
1 file changed