mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Context: In order to avoid the cluttering of the `torch.nn` namespace
the quantized modules namespace is moved to `torch.ao.nn`.
The list of the `nn.quantized` files that are being migrated:
- [X] `torch.nn.quantized` → `torch.ao.nn.quantized`
- [X] `torch.nn.quantized.functional` → `torch.ao.nn.quantized.functional`
- [X] `torch.nn.quantized.modules` → `torch.ao.nn.quantized.modules`
- [X] `torch.nn.quantized.dynamic` → `torch.ao.nn.quantized.dynamic`
- [X] `torch.nn.quantized._reference` → `torch.ao.nn.quantized._reference`
- [X] `torch.nn.quantizable` → `torch.ao.nn.quantizable`
- [X] [Current PR] `torch.nn.qat` → `torch.ao.nn.qat`
- [X] `torch.nn.qat.modules` → `torch.ao.nn.qat.modules`
- [X] `torch.nn.qat.dynamic` → `torch.ao.nn.qat.dynamic`
- [ ] `torch.nn.intrinsic` → `torch.ao.nn.intrinsic`
- [ ] `torch.nn.intrinsic.modules` → `torch.ao.nn.intrinsic.modules`
- [ ] `torch.nn.intrinsic.qat` → `torch.ao.nn.intrinsic.qat`
- [ ] `torch.nn.intrinsic.quantized` → `torch.ao.nn.intrinsic.quantized`
- [ ] `torch.nn.intrinsic.quantized.modules` → `torch.ao.nn.intrinsic.quantized.modules`
- [ ] `torch.nn.intrinsic.quantized.dynamic` → `torch.ao.nn.intrinsic.quantized.dynamic`
Majority of the files are just moved to the new location.
However, specific files need to be double checked:
- None
Differential Revision: [D36861197](https://our.internmc.facebook.com/intern/diff/D36861197/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D36861197/)!
Pull Request resolved: https://github.com/pytorch/pytorch/pull/78716
Approved by: https://github.com/jerryzh168
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| add_test.py | ||
| ao_sparsifier_test.py | ||
| as_strided_test.py | ||
| batchnorm_test.py | ||
| binary_test.py | ||
| bmm_test.py | ||
| cat_test.py | ||
| channel_shuffle_test.py | ||
| chunk_test.py | ||
| clip_ranges_test.py | ||
| configs.py | ||
| conv_test.py | ||
| diag_test.py | ||
| embeddingbag_test.py | ||
| fill_test.py | ||
| gather_test.py | ||
| gelu_test.py | ||
| groupnorm_test.py | ||
| hardsigmoid_test.py | ||
| hardswish_test.py | ||
| index_select_test.py | ||
| instancenorm_test.py | ||
| interpolate_test.py | ||
| layernorm_test.py | ||
| linear_prepack_fp16_test.py | ||
| linear_test.py | ||
| linear_unpack_fp16_test.py | ||
| matmul_test.py | ||
| matrix_mult_test.py | ||
| nan_to_num_test.py | ||
| pool_test.py | ||
| qactivation_test.py | ||
| qarithmetic_test.py | ||
| qatembedding_ops_test.py | ||
| qbatchnorm_test.py | ||
| qcat_test.py | ||
| qcomparators_test.py | ||
| qconv_test.py | ||
| qembedding_bag_lookups_test.py | ||
| qembedding_pack_test.py | ||
| qembeddingbag_test.py | ||
| qgroupnorm_test.py | ||
| qinstancenorm_test.py | ||
| qinterpolate_test.py | ||
| qlayernorm_test.py | ||
| qlinear_test.py | ||
| qobserver_test.py | ||
| qpool_test.py | ||
| qrnn_test.py | ||
| qtensor_method_test.py | ||
| quantization_test.py | ||
| qunary_test.py | ||
| remainder_test.py | ||
| softmax_test.py | ||
| split_test.py | ||
| stack_test.py | ||
| sum_test.py | ||
| tensor_to_test.py | ||
| unary_test.py | ||