Overload complex math functions on both :: and std:: (#39829)
Summary:
Because ROCm has bug on std:: functions.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/39829
Differential Revision: D22018430
Pulled By: anjali411
fbshipit-source-id: 671e158d3e3342394d1deaebd7ff011cce94c31a