[Pytorch] Expose ops present in dispatcher (#54791)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/54791
Several usecases have a need to want and see what ops are present in a specific pytorch runtime. This diff exposes that information in the dispatcher
ghstack-source-id: 125314247
Test Plan: D26678637 uses this api.
Reviewed By: swolchok
Differential Revision: D27271371
fbshipit-source-id: e572f0c85dcd75d75356e2cd4cfdd77efee17f94