commit | 649cbedfbe1245948096e374d591f41b7c981249 | [log] [tgz] |
---|---|---|
author | rmlarsen <rmlarsen@google.com> | Tue Oct 20 21:24:11 2020 -0700 |
committer | Antonio Sanchez <cantonios@google.com> | Wed Jun 30 15:17:09 2021 -0700 |
tree | b161d7163472ef05348745a4899098634ab23750 | |
parent | c84df9932ccfb533173e23bec0ec2349c78d8f78 [diff] |
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