add irregular c10 op registration/invocation cases to test project (#30558)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/30558
Most c10 op registration/invocation cases are generated by aten codegen
following some fixed pattern, but a handful of them were written
manually, mainly for quantized ops. Added these "irregular" cases to the
test project to verify static code analyzer can handle them as well.
Test:
- build and run the test project;
Test Plan: Imported from OSS
Differential Revision: D18811098
Pulled By: ljk53
fbshipit-source-id: 7bdf17175dfec41c56c0d70f124cc96478135bc4