dump operator names of a module and its sub-modules. (#29208)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/29208
A binary to dump operator names from a script model and its sub models.
Usage:
dump_operator_names path/to/script_model.pt path/to/output.yaml
Test Plan: Imported from OSS
Differential Revision: D18350353
fbshipit-source-id: 2026c8ab765069ad059ab2ca44fc27b79315b973