-
Notifications
You must be signed in to change notification settings - Fork 685
Extend cat op for complex dtype #12894
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/12894
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 847bade with merge base 574e109 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D78934592 |
Summary: Need complex cat op for live translation Differential Revision: D78934592
fee20ed
to
13e9e03
Compare
This pull request was exported from Phabricator. Differential Revision: D78934592 |
13e9e03
to
e33752e
Compare
Summary: Need complex cat op for live translation Differential Revision: D78934592
This pull request was exported from Phabricator. Differential Revision: D78934592 |
e33752e
to
753c4ad
Compare
Summary: Need complex cat op for live translation Differential Revision: D78934592
This pull request was exported from Phabricator. Differential Revision: D78934592 |
kernels/portable/cpu/op_cat.cpp
Outdated
executorch::runtime::isComplexType(out.scalar_type()); | ||
|
||
if (out_is_complex) { | ||
// All the input tensors and output must have same dtype |
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.
this is not a restriction of the ATen op. i.e. you can concat complex tensor of different dtype.
please add a TODO here, to allow mixed input dtype when output is complex.
Summary: Need complex cat op for live translation. The current support for complex dtype enforces that input and output tensors have the same dtype. Support mixed dtypes in the future. Differential Revision: D78934592
753c4ad
to
847bade
Compare
This pull request was exported from Phabricator. Differential Revision: D78934592 |
Summary: Need complex cat op for live translation. The current support for complex dtype enforces that input and output tensors have the same dtype. Support mixed dtypes in the future. Differential Revision: D78934592
Differential Revision: D78934592 Pull Request resolved: pytorch#12894
Summary: Need complex cat op for live translation
Differential Revision: D78934592