mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Summary: made _get_valid_patterns, _DEFAULT_PATTERN_TO_FUSER_METHOD, _reverse3, _reverse2, _reverse_sequential_wrapper2, _DEFAULT_OP_LIST_TO_FUSER_METHOD, _sequential_wrapper2 private Test Plan: python test/test_public_bindings.py Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D40709281](https://our.internmc.facebook.com/intern/diff/D40709281) Pull Request resolved: https://github.com/pytorch/pytorch/pull/87516 Approved by: https://github.com/jcaip
16 lines
511 B
Python
16 lines
511 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/fuser_method_mappings.py`, while adding an import statement
|
|
here.
|
|
"""
|
|
from torch.ao.quantization.fuser_method_mappings import (
|
|
fuse_conv_bn,
|
|
fuse_conv_bn_relu,
|
|
fuse_linear_bn,
|
|
_DEFAULT_OP_LIST_TO_FUSER_METHOD,
|
|
get_fuser_method,
|
|
)
|