Revert D24737050: [WIP] Adding bunch of unary foreach APIs
Test Plan: revert-hammer
Differential Revision:
D24737050 (https://github.com/pytorch/pytorch/commit/b6a2444eff6fd8d92de1d7c3501aa892376d54e1)
Original commit changeset: deb59b41ad1c
fbshipit-source-id: 76cd85028114cfc8fc5b7bb49cd27efc2e315aa5