Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance the torch.pow testcase for the complex scalar base (#47101)
Summary: Related #45259 This PR is to address the #45259 (comment) - leverage the `make_tensor` function to generate a random tensor as the exponent, preventing the full zeros for the integer exponent. - add some special cases for the zero exponents and the `1 + 0j` base. Pull Request resolved: #47101 Reviewed By: mruberry Differential Revision: D24682430 Pulled By: zou3519 fbshipit-source-id: f559dc0ba08f37ae070036fb25a52ede17a24149
- Loading branch information