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