pytorch
860e354d - Support diag_embed.out decomposition (#88671)

Commit
2 years ago
Support diag_embed.out decomposition (#88671) This is a little tricky: there is a diag_embed.out, but its not bound in Python because it's autogenerated, see https://github.com/pytorch/pytorch/issues/88598 So I can't "just" add the out variant to the ref, as this makes it inconsistent with the torch API. To workaround this, I mark the ref as supporting out, but not the original function. This is useful to do, because it means that diag_embed.out now supports symbolic shapes. However, this cannot be easily tested because I can't mark the out variant as being supported in the normal OpInfo test. Signed-off-by: Edward Z. Yang <ezyang@fb.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/88671 Approved by: https://github.com/mruberry
Author
Committer
Parents
Loading