-
Notifications
You must be signed in to change notification settings - Fork 74k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add broadcasting support for tf.where
#15982
Add broadcasting support for tf.where
#15982
Commits on Nov 6, 2018
-
Add broadcasting support for
tf.where
This fix tries to address the issue raised in 9284 where there was no broadcasting support for `tf.where`. This fix adds the support so that the behavior of `tf.where` matches `np.where`. This fix fixes 9284. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for eb856d1 - Browse repository at this point
Copy the full SHA eb856d1View commit details -
Update shape function for
tf.where
/SelectOp
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for 5cb7665 - Browse repository at this point
Copy the full SHA 5cb7665View commit details -
Add template for BCastSelectFunctor
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for 5ce52a0 - Browse repository at this point
Copy the full SHA 5ce52a0View commit details -
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for 94b1e3e - Browse repository at this point
Copy the full SHA 94b1e3eView commit details -
Add test case for broadcasting support of
where_v2
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for 2250c49 - Browse repository at this point
Copy the full SHA 2250c49View commit details -
Define where_v2 in array_ops.py
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for 399d5c2 - Browse repository at this point
Copy the full SHA 399d5c2View commit details -
Add broadcasting support for
tf.where
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for 75b4505 - Browse repository at this point
Copy the full SHA 75b4505View commit details -
Fix
Experimental clang-format Check
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for 0ec97a7 - Browse repository at this point
Copy the full SHA 0ec97a7View commit details -
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for e5edd77 - Browse repository at this point
Copy the full SHA e5edd77View commit details -
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for ab4f60d - Browse repository at this point
Copy the full SHA ab4f60dView commit details -
Add additional test case for tf.where_v2, based on review feedback
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for 7a9fd72 - Browse repository at this point
Copy the full SHA 7a9fd72View commit details -
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for fec417d - Browse repository at this point
Copy the full SHA fec417dView commit details
Commits on Dec 6, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0d2c28c - Browse repository at this point
Copy the full SHA 0d2c28cView commit details -
Expose where_v2 as v1=["where_v2"], v2=["where"]
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for e1f2b7c - Browse repository at this point
Copy the full SHA e1f2b7cView commit details -
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for ad970c3 - Browse repository at this point
Copy the full SHA ad970c3View commit details -
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for 4059b95 - Browse repository at this point
Copy the full SHA 4059b95View commit details -
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for bc3538f - Browse repository at this point
Copy the full SHA bc3538fView commit details
Commits on Dec 7, 2018
-
Update API to use @tf_export(v1=["where"]) for legacy
where
, and @t……f_export("where", v1=["where_v2"]) for new `where` Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for 8d198f1 - Browse repository at this point
Copy the full SHA 8d198f1View commit details
Commits on Mar 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 56aa488 - Browse repository at this point
Copy the full SHA 56aa488View commit details -
Update api compat and tf_upgrade_v2
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for 70e39f2 - Browse repository at this point
Copy the full SHA 70e39f2View commit details
Commits on Apr 1, 2019
-
Rename tf.where_v2 to tf.compat.v2.where, as rename script has to
work in v1 and v2 so explicitly specifying tf.compat.v2.where (from review comment). Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for d9b98c4 - Browse repository at this point
Copy the full SHA d9b98c4View commit details
Commits on May 2, 2019
-
Rename elem_bcast to then_else_bcast, and remove duplicate template s…
…pecification based on review comment. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for e75409c - Browse repository at this point
Copy the full SHA e75409cView commit details
Commits on May 3, 2019
-
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for 33cd7b8 - Browse repository at this point
Copy the full SHA 33cd7b8View commit details