caffe2 | Revert range loop analysis fix
Summary: This reverts a change that was made to fix range loop analysis warning.
Test Plan: CI
Reviewed By: nlutsenko
Differential Revision: D22274461
fbshipit-source-id: dedc3fcaa6e32259460380163758d6c9c9b73211