forked from tensorflow/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor fused quantization patterns into quantize pass.
Current Quantize{DotGeneral, Convolution}OpPattern matching takes place after post_quantize, which may be misleading. Instead, factor out patterns in a separate file and handle in quantize.cc. MLIR tests for fused patterns are left in quantize_composite_functions.mlir for module-level evaluation of functions. PiperOrigin-RevId: 586934993
- Loading branch information
1 parent
db58265
commit 54af26e
Showing
7 changed files
with
528 additions
and
431 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.