Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean Up MobileOptimizerType Rewrite Flags Public API and Documentation
Summary: X-link: pytorch/pytorch#91600 Pull Request resolved: #452 Remove MobileOptimizerType and all rewrite flags from torch.X and torch._C.X to clean up torch.X and torch._C.X namespaces The affected rewrite flags are - CONV_BN_FUSION - FUSE_ADD_RELU - HOIST_CONV_PACKED_PARAMS - INSERT_FOLD_PREPACK_OPS - REMOVE_DROPOUT - VULKAN_AUTOMATIC_GPU_TRANSFER Bc-Breaking Change: Before this change, the rewrite flags were accessible through all of 1. torch.utils.mobile_optimizer.MobileOptimizerType.X 2. torch._C.MobileOptimizerType.X 3. torch.X 4. torch.MobileOptimizerType.X 5. torch._C.X But after this change, only torch.utils.mobile_optimizer.MobileOptimizerType.X (option 1 above) and the newly added torch._C._MobileOptimizerType.X remain Differential Revision: D41690203 fbshipit-source-id: e53fd47d1bbe109b9e94ed82acbb5ae2139eafec
- Loading branch information