torch.fx.experimental.optimization.reset_modules
- torch.fx.experimental.optimization.reset_modules(nodes, modules, old_modules)
Maps each module that’s been changed with modules_to_mkldnn back to its original.
Maps each module that’s been changed with modules_to_mkldnn back to its original.