mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 00:20:18 +01:00
[ao_migration] torch/nn/intrinsic: torch.quantization -> torch.ao.quantization (#65903)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/65903 This changes the imports in the `caffe2/torch/nn/intrinsic` to include the new import locations. ``` codemod -d torch/nn/intrinsic --extensions py 'torch.quantization' 'torch.ao.quantization' ``` Test Plan: `python test/run_test.py` Reviewed By: albanD Differential Revision: D31301195 fbshipit-source-id: a5a9d84cb1ac33df6c90ee03cda3e2f1c5d5ff51
This commit is contained in:
parent
2daae532bd
commit
a28b038af4
|
|
@ -188,7 +188,7 @@ class _ConvBnNd(nn.modules.conv._ConvNd, nni._FusedModule):
|
|||
def from_float(cls, mod):
|
||||
r"""Create a qat module from a float module or qparams_dict
|
||||
|
||||
Args: `mod` a float module, either produced by torch.quantization utilities
|
||||
Args: `mod` a float module, either produced by torch.ao.quantization utilities
|
||||
or directly from user
|
||||
"""
|
||||
# The ignore is because _FLOAT_MODULE is a TypeVar here where the bound
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user