Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not fuse model again for a QAT model
Summary: Pull Request resolved: #643 For a QAT model, it contains observers. After QAT training, those observers already contain updated statistics, such as min_val, max_val. When we want to export FP32 QAT model for a sanity check, if we call **fuse_utils.fuse_model()** again (which is often already called when we build the QAT model before QAT training), it will remove statistics in the observers. Reviewed By: wat3rBro Differential Revision: D52152688 fbshipit-source-id: 08aa16f2aa72b3809e0ba2d346f1b806c0e6ede7
- Loading branch information