Adding custom testing based on opinfos input for ops with custom rules. (#67500)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/67500
Test Plan: Imported from OSS
Reviewed By: malfet
Differential Revision: D32175957
Pulled By: Gamrix
fbshipit-source-id: 1cb51a7b6cbb75bf3841e3c4caedf88aa94168fe