-
Notifications
You must be signed in to change notification settings - Fork 74k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not partially quantize the inputs of UnidirectionalSequenceLSTMOp
The TFLite runtime doesn't currently support hybrid/partial quantization of the inputs for the UnidirectionalSequenceLSTMOp. As a consequence, we must ensure quantization occurs atomically for all of the input constants. In cases where any of the input constants do not meet the minimum element count for quantization eligibility (as defined by the `minimum_elements_for_weights` quantization config parameter) then skip quantization for this op entirely. PiperOrigin-RevId: 534562296
- Loading branch information
1 parent
24260f2
commit b8d7b00
Showing
2 changed files
with
102 additions
and
3 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