pytorch/test/quantization
Vasiliy Kuznetsov ea558b2135 fx quant: hook up ConvTranspose{n}d (#49717)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/49717

Quantization of `ConvTranpose{n}d` is supported in Eager mode. This PR
adds the support for FX graph mode.

Note: this currenlty only works in `qnnpack` because per-channel weights
are not supported by quantized conv transpose. In a future PR we should throw
an error when someone tries to quantize a ConvTranspose model with per-channel
weight observers until this is fixed.

Test Plan:
```
python test/test_quantization.py TestQuantizeFxOps.test_conv_transpose_1d
python test/test_quantization.py TestQuantizeFxOps.test_conv_transpose_2d
```

Imported from OSS

Reviewed By: jerryzh168

Differential Revision: D25674636

fbshipit-source-id: b6948156123ed55db77e6337bea10db956215ae6
2020-12-28 14:27:07 -08:00
..
serialized Adding a version serialization type to ConvPackedParam (#43086) 2020-08-28 15:41:30 -07:00
__init__.py
test_backward_compatibility.py Adding a version serialization type to ConvPackedParam (#43086) 2020-08-28 15:41:30 -07:00
test_bias_correction.py Bias Correction Implementation (#41845) 2020-08-20 21:40:33 -07:00
test_equalize.py cross_layer_equalization (#41685) 2020-07-22 08:39:23 -07:00
test_fusion_passes.py
test_numeric_suite.py [quantization] fix run_arg tiny bug (#48537) 2020-12-02 10:07:33 -08:00
test_numeric_suite_fx.py Compare Weights FX Implementation (#48056) 2020-11-20 17:17:19 -08:00
test_qat_module.py [reland][quant][fix] Add bias once in conv_fused (#48593) (#48661) 2020-12-02 10:17:43 -08:00
test_quantize.py Dynamic GRU quantization support (#49448) 2020-12-21 12:36:59 -08:00
test_quantize_fx.py fx quant: hook up ConvTranspose{n}d (#49717) 2020-12-28 14:27:07 -08:00
test_quantize_jit.py [quant][fix] Support quantization of ops where input is quantizable (#49027) 2020-12-08 19:21:41 -08:00
test_quantized_functional.py [reland][quant] Remove nn.quantized.ReLU module and nn.quantized.functional.relu (#47415) (#48038) 2020-11-17 09:52:21 -08:00
test_quantized_module.py Dynamic GRU quantization support (#49448) 2020-12-21 12:36:59 -08:00
test_quantized_op.py Preserve memory format in qconv op (#49533) 2020-12-23 10:58:57 -08:00
test_quantized_tensor.py [quant] PerChannelFloatQParams support for quint4x2 dtype (#45594) 2020-10-01 23:59:53 -07:00
test_workflow_module.py [quant][qat] Ensure observer respects device affinity (#47514) 2020-11-10 08:43:52 -08:00