Migrate CPU_tensor_apply to TensorIterator in aten/src/ATen/native/TensorCompare.cpp (#25402)
Summary:
https://github.com/pytorch/pytorch/issues/24497
https://github.com/pytorch/pytorch/issues/24498
Pull Request resolved: https://github.com/pytorch/pytorch/pull/25402
Differential Revision: D17135825
Pulled By: ifedan
fbshipit-source-id: fba07e4b59453db1a98bfdebfe21f0827cc952e5