Fix unbind_copy and add its decomposition (#134319)

* Fixes https://github.com/pytorch/pytorch/issues/130829

Pull Request resolved: https://github.com/pytorch/pytorch/pull/134319
Approved by: https://github.com/amjames, https://github.com/eellison
This commit is contained in:
Tom Ritchford
2024-10-16 15:28:29 +00:00
committed by PyTorch MergeBot
parent 69ba89da11
commit 9f81270d75
13 changed files with 106 additions and 28 deletions

View File

@ -240,6 +240,7 @@ GRADIENT_IMPLEMENTED_FOR_COMPLEX = {
"slice",
"constant_pad_nd",
"unbind",
"unbind_copy",
"split",
"split_with_sizes",
"unsafe_split",