viable/strict/1791840414: [MPS] Fix complex pow returning 0 for zero bases (#200564)
- PyTorch: 2294 events in the last 90 days
- PyTorch: 2264th Release in the last 90 days
- Previous: earlier the same day · trunk/601e74c48479cb2cb678aacc701dda54a8f8c555
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 , https://github.com/hameerabbasi Co-authored-by: Hameer Abbasi 2190658+hameerabbasi@users.noreply.github.com
Summary assembled by rule from the sources below