commit | 2cc900a99f323ad650beb55edfdbbba3a0fbe7f4 | [log] [tgz] |
---|---|---|
author | Lei Zhang <antiagainst@google.com> | Mon Mar 11 11:36:20 2019 -0700 |
committer | jpienaar <jpienaar@google.com> | Fri Mar 29 17:12:26 2019 -0700 |
tree | f6c0bdf1f5b91ae5dd2f1ed158802f2b2b589a8c | |
parent | e774455054d9f53c90d7f55d3bf32894070c9fbb [diff] |
Allow input and output to have different element types for broadcastable ops TensorFlow comparison ops like tf.Less supports broadcast behavior but the result type have different element types as the input types. Extend broadcastable trait to allow such cases. Added tf.Less to demonstrate it. PiperOrigin-RevId: 237846127