Permalink
Show file tree
Hide file tree
14 changes: 8 additions & 6 deletions
14
tensorflow/compiler/mlir/lite/quantization/quantization_utils.cc
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Skip reordering dq-q patterns when the new quantization dimension is …
…unknown. It also adds the canonicalization patterns to remove redundant TF reshape ops to infer the quantization dimension from the user ops (e.g, conv2d, depthwise conv2d) over those redundant TF reshape ops. PiperOrigin-RevId: 463080509
- Loading branch information
1 parent
66b1a1f
commit aa0b852
Showing
3 changed files
with
50 additions
and
6 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
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
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