Revert D25502940: Refactor ForeachUnaryOps.cu
Test Plan: revert-hammer
Differential Revision:
D25502940 (https://github.com/pytorch/pytorch/commit/5cf32787230ae701e275848856df97e974e012e5)
Original commit changeset: fce2f18a4f62
fbshipit-source-id: 2cef82bd3cb34783d9a0c6c16cc4321abab31932
Author
Natalia Gimelshein