Revert "Delete SymIntArrayRef wrapper struct (#84837)"
This reverts commit 9c78f599e40eac7fee027d86e03af06e251705b5.
Reverted https://github.com/pytorch/pytorch/pull/84837 on behalf of https://github.com/ZainRizvi due to The test test_post_localSGD_optimizer_step_reload in the X linux-bionic-cuda11.6-py3.10-gcc7 workflow has started consistently failing since this PR was submitted