torch.fx.passes.infra.pass_manager.pass_result_wrapper
- torch.fx.passes.infra.pass_manager.pass_result_wrapper(fn)
Wrapper for passes which currently do not return a PassResult. This wrapper makes them return a PassResult containing the modified object and True for the “modified” flag.