mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 13:44:15 +08:00
Apply UFMT to low traffic torch modules (#106249)
Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/106249 Approved by: https://github.com/Skylion007
This commit is contained in:
committed by
PyTorch MergeBot
parent
a4ebc61f15
commit
3bf922a6ce
@ -7,18 +7,16 @@ If you are adding a new entry/functionality, please, add it to the
|
||||
here.
|
||||
"""
|
||||
|
||||
from torch.ao.quantization.fuse_modules import fuse_modules
|
||||
from torch.ao.quantization.fuse_modules import fuse_known_modules
|
||||
from torch.ao.quantization.fuse_modules import get_fuser_method
|
||||
|
||||
# for backward compatiblity
|
||||
from torch.ao.quantization.fuser_method_mappings import fuse_conv_bn
|
||||
from torch.ao.quantization.fuser_method_mappings import fuse_conv_bn_relu
|
||||
|
||||
# TODO: These functions are not used outside the `fuse_modules.py`
|
||||
# Keeping here for now, need to remove them later.
|
||||
from torch.ao.quantization.fuse_modules import (
|
||||
_fuse_modules,
|
||||
_get_module,
|
||||
_set_module,
|
||||
fuse_known_modules,
|
||||
fuse_modules,
|
||||
get_fuser_method,
|
||||
)
|
||||
|
||||
# for backward compatiblity
|
||||
from torch.ao.quantization.fuser_method_mappings import fuse_conv_bn, fuse_conv_bn_relu
|
||||
|
Reference in New Issue
Block a user