diff options
author | 2017-10-02 14:57:50 -0700 | |
---|---|---|
committer | 2017-10-02 15:00:51 -0700 | |
commit | a470779865883706dc2db1dcd8bd386527e1df03 (patch) | |
tree | 39b43185b5bf90564d6b3fd3ca916d66aa8764ce /CODE_OF_CONDUCT.md | |
parent | 553d10cfe42edcb6b3b8d748b315f13925fcf28f (diff) |
TF WhereOp now acts more like np.where: extend input types to any numeric type.
(with the exception of tf.half).
This allows one to call:
tf.where(float_tensor)
instead of
tf.where(tf.not_equal(float_tensor, 0))
or
tf.where(complex_tensor)
instead of
tf.where(tf.not_equal(tf.abs(complex_tensor), 0))
PiperOrigin-RevId: 170758184
Diffstat (limited to 'CODE_OF_CONDUCT.md')
0 files changed, 0 insertions, 0 deletions