pytorch/test/quantization
leslie-fang-intel e592b9a469 [Quant] [PT2] Fix an issue in Conv Binary Quantization Annotation (#114540)
**Summary**
To annotate a conv-binary pattern, should skip the pattern if the conv node has more than one user.

**Test Plan**
```
python -m pytest test_x86inductor_quantizer.py -k test_conv2d_binary2
python -m pytest test_x86inductor_quantizer.py -k test_qat_conv2d_binary2
```

Pull Request resolved: https://github.com/pytorch/pytorch/pull/114540
Approved by: https://github.com/jgong5, https://github.com/jerryzh168
2023-11-28 01:06:48 +00:00
..
ao_migration ao migration: remove package test as this behavior is tested by other things (#94422) 2023-02-13 16:33:40 +00:00
bc [BE] Enable ruff's UP rules and autoformat test/ (#105434) 2023-07-19 20:36:06 +00:00
core Overload vec::dequantize to eliminate rounding error for quantized sigmoid (#114098) 2023-11-23 04:33:57 +00:00
eager [ao] updating embedding_bag support for fx and eager (#107623) 2023-11-21 03:54:00 +00:00
fx [ao] updating embedding_bag support for fx and eager (#107623) 2023-11-21 03:54:00 +00:00
jit Revert "Remove deprecated fbgemm operators (#104535)" 2023-10-25 16:34:16 +00:00
pt2e [Quant] [PT2] Fix an issue in Conv Binary Quantization Annotation (#114540) 2023-11-28 01:06:48 +00:00
serialized
__init__.py