-
Notifications
You must be signed in to change notification settings - Fork 684
Add cadence.where_Scalar op #9764
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/9764
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit d29f64f with merge base d6bc799 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D70539497 |
Summary: The op replaces the regular where op when it uses two `aten.full` ops for the tensors. Those cases do no need broadcast (but would call it in the current state) and can sometimes be constant folded, if the `condition` is a constant tensor. Since `aten.full` is _not_ currently constant folded, it would stay in the graph. Reviewed By: skrtskrtfb Differential Revision: D70539497
ba35880
to
bfc9f46
Compare
This pull request was exported from Phabricator. Differential Revision: D70539497 |
Summary: Pull Request resolved: #9764 The op replaces the regular where op when it uses two `aten.full` ops for the tensors. Those cases do no need broadcast (but would call it in the current state) and can sometimes be constant folded, if the `condition` is a constant tensor. Since `aten.full` is _not_ currently constant folded, it would stay in the graph. Reviewed By: skrtskrtfb Differential Revision: D70539497
bfc9f46
to
0468e28
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Summary: The op replaces the regular where op when it uses two `aten.full` ops for the tensors. Those cases do no need broadcast (but would call it in the current state) and can sometimes be constant folded, if the `condition` is a constant tensor. Since `aten.full` is _not_ currently constant folded, it would stay in the graph. Reviewed By: skrtskrtfb, zonglinpeng Differential Revision: D70539497
0468e28
to
3755d99
Compare
This pull request was exported from Phabricator. Differential Revision: D70539497 |
Summary: Pull Request resolved: #9764 The op replaces the regular where op when it uses two `aten.full` ops for the tensors. Those cases do no need broadcast (but would call it in the current state) and can sometimes be constant folded, if the `condition` is a constant tensor. Since `aten.full` is _not_ currently constant folded, it would stay in the graph. Reviewed By: skrtskrtfb, zonglinpeng Differential Revision: D70539497
3755d99
to
d2d57cf
Compare
Summary: The op replaces the regular where op when it uses two `aten.full` ops for the tensors. Those cases do no need broadcast (but would call it in the current state) and can sometimes be constant folded, if the `condition` is a constant tensor. Since `aten.full` is _not_ currently constant folded, it would stay in the graph. Reviewed By: skrtskrtfb, zonglinpeng Differential Revision: D70539497
d2d57cf
to
f35ad09
Compare
This pull request was exported from Phabricator. Differential Revision: D70539497 |
Summary: Pull Request resolved: #9764 The op replaces the regular where op when it uses two `aten.full` ops for the tensors. Those cases do no need broadcast (but would call it in the current state) and can sometimes be constant folded, if the `condition` is a constant tensor. Since `aten.full` is _not_ currently constant folded, it would stay in the graph. Reviewed By: skrtskrtfb, zonglinpeng Differential Revision: D70539497
f35ad09
to
2b63160
Compare
Summary: The op replaces the regular where op when it uses two `aten.full` ops for the tensors. Those cases do no need broadcast (but would call it in the current state) and can sometimes be constant folded, if the `condition` is a constant tensor. Since `aten.full` is _not_ currently constant folded, it would stay in the graph. Reviewed By: skrtskrtfb, zonglinpeng Differential Revision: D70539497
2b63160
to
de047f0
Compare
Summary: The op replaces the regular where op when it uses two `aten.full` ops for the tensors. Those cases do no need broadcast (but would call it in the current state) and can sometimes be constant folded, if the `condition` is a constant tensor. Since `aten.full` is _not_ currently constant folded, it would stay in the graph. Reviewed By: skrtskrtfb, zonglinpeng Differential Revision: D70539497
de047f0
to
1b40ea0
Compare
This pull request was exported from Phabricator. Differential Revision: D70539497 |
1b40ea0
to
331d103
Compare
Summary: Pull Request resolved: #9764 The op replaces the regular where op when it uses two `aten.full` ops for the tensors. Those cases do no need broadcast (but would call it in the current state) and can sometimes be constant folded, if the `condition` is a constant tensor. Since `aten.full` is _not_ currently constant folded, it would stay in the graph. Reviewed By: skrtskrtfb, zonglinpeng Differential Revision: D70539497
This pull request was exported from Phabricator. Differential Revision: D70539497 |
Summary: Pull Request resolved: #9764 The op replaces the regular where op when it uses two `aten.full` ops for the tensors. Those cases do no need broadcast (but would call it in the current state) and can sometimes be constant folded, if the `condition` is a constant tensor. Since `aten.full` is _not_ currently constant folded, it would stay in the graph. Reviewed By: skrtskrtfb, zonglinpeng Differential Revision: D70539497
331d103
to
63bab5d
Compare
Summary: The op replaces the regular where op when it uses two `aten.full` ops for the tensors. Those cases do no need broadcast (but would call it in the current state) and can sometimes be constant folded, if the `condition` is a constant tensor. Since `aten.full` is _not_ currently constant folded, it would stay in the graph. Reviewed By: skrtskrtfb, zonglinpeng Differential Revision: D70539497
63bab5d
to
cd002c4
Compare
Summary: Pull Request resolved: #9764 The op replaces the regular where op when it uses two `aten.full` ops for the tensors. Those cases do no need broadcast (but would call it in the current state) and can sometimes be constant folded, if the `condition` is a constant tensor. Since `aten.full` is _not_ currently constant folded, it would stay in the graph. Reviewed By: skrtskrtfb, zonglinpeng Differential Revision: D70539497
This pull request was exported from Phabricator. Differential Revision: D70539497 |
cd002c4
to
d29f64f
Compare
Differential Revision: D70539497 Pull Request resolved: #9764
Summary: The op replaces the regular where op when it uses two
aten.full
ops for the tensors. Those cases do no need broadcast (but would call it in the current state) and can sometimes be constant folded, if thecondition
is a constant tensor. Sinceaten.full
is not currently constant folded, it would stay in the graph.Reviewed By: skrtskrtfb
Differential Revision: D70539497