Migrate CPU sum, eq, and ne to c10::complex (#37876)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/37876
Test Plan: Imported from OSS
Differential Revision: D21426516
Pulled By: anjali411
fbshipit-source-id: 0532e5508ad65e649f3d4d8cde32ff871956c9f7