Image-Generator / torch /quantization /fuser_method_mappings.py
Adi-69s's picture
Upload 5061 files
b2659ad verified
# 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/fuser_method_mappings.py`, while adding an import statement
here.
"""
from torch.ao.quantization.fuser_method_mappings import (
_DEFAULT_OP_LIST_TO_FUSER_METHOD,
fuse_conv_bn,
fuse_conv_bn_relu,
fuse_linear_bn,
get_fuser_method,
)