Allow to register custom passes both before and after fusion. (#33261)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/33261
It was requested in #33114.
Test Plan: Imported from OSS
Differential Revision: D19910600
Pulled By: ZolotukhinM
fbshipit-source-id: 827f1744b97f386065a21d1ba5d82c1f90edbe46
Author
Mikhail Zolotukhin