pytorch/torch/_export/pass_infra
Angela Yi 9bbd3d6489 [export] ExportPassBase + view_copy pass (#100000)
* Added ExportPassBase, an interpreter based helper pass writing class
* It can also help maintain the dialect based on the operator namespace through having users override the `get_valid_dialects` function (returning an empty lists implies the pass works for any dialect).
* Added a `ReplaceBrokenOpsWithFunctionalOpsPass` to replace all ops that have not been converted with functionalization with their functional ones.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/100000
Approved by: https://github.com/gmagogsfm
2023-04-26 21:01:25 +00:00
..
__init__.py [export] ExportPassBase + view_copy pass (#100000) 2023-04-26 21:01:25 +00:00
node_metadata.py [export] ExportPassBase + view_copy pass (#100000) 2023-04-26 21:01:25 +00:00
proxy_value.py [export] ExportPassBase + view_copy pass (#100000) 2023-04-26 21:01:25 +00:00