mirror of
https://github.com/pytorch/pytorch.git
synced 2025-11-19 18:14:54 +08:00
Summary: Projects that use `-Wswitch-enum` will encounter issues when building and using *PyTorch* (`caffe2`). Address these issues to empower more rigorous upstream compiler warnings/errors. Test Plan: CI Pass Differential Revision: D85893917 Pull Request resolved: https://github.com/pytorch/pytorch/pull/166760 Approved by: https://github.com/atalman