Deprecate torch::jit::RegisterOperators (#21552)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/21552
Original commit changeset: a142c22be3fd
https://github.com/pytorch/pytorch/pull/21368 got reverted because of a MSVC issue. This commit re-introduces that change and fixes the MSVC issue.
Differential Revision: D15727526
fbshipit-source-id: 8eb0eb9a7108dc049911b79342c364ac1b8623c8