Revert D27448156: irange for size_t
Test Plan: revert-hammer
Differential Revision:
D27448156 (https://github.com/pytorch/pytorch/commit/041b4431b28eb24335189979e9a110dc9892dfe4)
Original commit changeset: 585da57d4de9
fbshipit-source-id: 8e047c29f391c0166e0a1a87c3fb2a0854377365