File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 41
41
QConfigMapping ,
42
42
)
43
43
44
- from torch .ao .quantization ._quantize_pt2e import (
45
- convert_pt2e ,
46
- get_symmetric_quantization_config ,
47
- prepare_pt2e_quantizer ,
48
- QNNPackQuantizer ,
49
- )
50
-
51
44
from torch .ao .quantization .backend_config .executorch import (
52
45
get_executorch_backend_config ,
53
46
)
67
60
prepare_fx ,
68
61
)
69
62
63
+ from torch .ao .quantization .quantize_pt2e import (
64
+ convert_pt2e ,
65
+ get_symmetric_quantization_config ,
66
+ prepare_pt2e_quantizer ,
67
+ QNNPackQuantizer ,
68
+ )
69
+
70
70
from torch .testing import FileCheck
71
71
72
72
Original file line number Diff line number Diff line change 12
12
from torch .ao .ns .fx .utils import compute_sqnr
13
13
from torch .ao .quantization import get_default_qconfig , QConfigMapping # @manual
14
14
15
- from torch .ao .quantization ._quantize_pt2e import convert_pt2e , prepare_pt2e_quantizer
16
15
from torch .ao .quantization .backend_config ._qnnpack_pt2e import (
17
16
get_qnnpack_pt2e_backend_config ,
18
17
)
18
+
19
19
from torch .ao .quantization .pt2e .quantizer import QNNPackQuantizer
20
20
from torch .ao .quantization .pt2e .quantizer .qnnpack_quantizer import (
21
21
get_symmetric_quantization_config ,
22
22
)
23
23
from torch .ao .quantization .quantize_fx import convert_to_reference_fx , prepare_fx
24
+ from torch .ao .quantization .quantize_pt2e import convert_pt2e , prepare_pt2e_quantizer
24
25
from torch .testing import FileCheck
25
26
from torch .testing ._internal .common_quantization import skipIfNoQNNPACK
26
27
from torch .testing ._internal .common_quantized import override_quantized_engine
You can’t perform that action at this time.
0 commit comments