Added reference tests to ReductionOpInfo (#62900)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/62900
Test Plan: Imported from OSS
Reviewed By: mruberry
Differential Revision: D30408815
Pulled By: heitorschueroff
fbshipit-source-id: 6a1f82ac281920ff7405a42f46ccd796e60af9d6