[ao][fx] fixing public v private match_utils.py (#88396)

Summary: made _is_match, _find_matches, _MatchResult private also added
__all__ to lower_to_qnnpack.py

Test Plan: python test/test_public_bindings.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D41015540](https://our.internmc.facebook.com/intern/diff/D41015540)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/88396
Approved by: https://github.com/jcaip
This commit is contained in:
HDCharles
2022-12-12 19:46:04 -08:00
committed by PyTorch MergeBot
parent a856557b3a
commit 79156c11c3
10 changed files with 32 additions and 32 deletions

View File

@ -7,8 +7,8 @@ appropriate files under `torch/ao/quantization/fx/`, while adding an import stat
here.
"""
from torch.ao.quantization.fx.match_utils import (
MatchResult,
_MatchResult,
MatchAllNode,
is_match,
find_matches
_is_match,
_find_matches
)