pytorch
9a941ec2 - `_linalg_svd`: change to new `MetaBase` API.

Commit
2 years ago
`_linalg_svd`: change to new `MetaBase` API. This PR modifies `_linalg_svd` to the new `MetaBase` API. Instead of checking the output strides manually, it now uses the appropriate `set_output_strided` and `set_output_contiguous`. Test for svd Pull Request resolved: https://github.com/pytorch/pytorch/pull/77540 Approved by: https://github.com/Lezcano, https://github.com/ezyang
Author
Committer
Parents
Loading