x86 conv ops can be found here I think: pytorch/aten/src/ATen/native/quantized/library.cpp at dcfa415e6e10b250e56a1793d45e886fd910358e · pytorch/pytorch · GitHub, tests can be found pytorch/test/quantization/core/test_quantized_op.py at dcfa415e6e10b250e56a1793d45e886fd910358e · pytorch/pytorch · GitHub