mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
This reverts commit 6b7efac3c9ea5c9fbfb18069abd254ad7d9a103e. Reverted https://github.com/pytorch/pytorch/pull/90205 on behalf of https://github.com/seemethere due to Reverting since this caused failures in internal systems, see https://fb.workplace.com/groups/802176577445480/posts/894284641568006 for discussion
30 lines
746 B
Python
30 lines
746 B
Python
# flake8: noqa: F401
|
|
r"""
|
|
This file is in the process of migration to `torch/ao/quantization`, and
|
|
is kept here for compatibility while the migration process is ongoing.
|
|
If you are adding a new entry/functionality, please, add it to the
|
|
`torch/ao/quantization/quantize_fx.py`, while adding an import statement
|
|
here.
|
|
"""
|
|
|
|
from torch.ao.quantization.quantize_fx import (
|
|
_check_is_graph_module,
|
|
_swap_ff_with_fxff,
|
|
_fuse_fx,
|
|
Scope,
|
|
ScopeContextManager,
|
|
QuantizationTracer,
|
|
_prepare_fx,
|
|
_prepare_standalone_module_fx,
|
|
fuse_fx,
|
|
prepare_fx,
|
|
prepare_qat_fx,
|
|
_convert_fx,
|
|
convert_fx,
|
|
_convert_standalone_module_fx,
|
|
)
|
|
|
|
from torch.ao.quantization.fx.graph_module import (
|
|
ObservedGraphModule,
|
|
)
|