pytorch
550d50ed - [quant][fx] Remove should_insert_output_observers (#74775)

Commit
2 years ago
[quant][fx] Remove should_insert_output_observers (#74775) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/74775 We have simplified the way we insert observers, for add_scalar it now behaves the same way as general_tensor_value ops, which means we only need to keep is_general_tensor_value_op now, the other methods can be removed Test Plan: python test/test_quantization.py TestQuantizeFx python test/test_quantization.py TestQuantizeFxOps Imported from OSS Reviewed By: vkuzo Differential Revision: D35153532 fbshipit-source-id: 2d17189e167a9932bdbf5ae46b3ced25b7128c2f (cherry picked from commit 7cf7c8a522171f58954b227917e5c75cdfdddb1c)
Author
Committer
Parents
Loading