trunk/8fbb52741e473fc3b8ad318354355962dcc8e532: [MPS] Fix complex pow returning 0 for zero bases (#200564)
- PyTorch: 2180 events in the last 90 days
- PyTorch: 2151th Release in the last 90 days
- Previous: earlier the same day · trunk/98a0190638f271ea6e37e7e5891ea9823d11baae: Handle empty linalg.lstsq inputs in shared code (#199696)
What happened
Complex pow on MPS returned 0 for every zero base. Now 0 is returned only when the exponent's real part is positive. Pull Request resolved: #200564 Approved by: https://github.com/Skylion007 , https://github.com/malfet
Summary assembled by rule from the sources below