Commit graph

7 commits

Author SHA1 Message Date
Esun Kim
807c35d6a9
Bazel Module (#3364)
* Work

* Review update

* Enabled tests

* Bazel: Suppress warnings from external repositories

* Fixed whl_test

* Formatted

* More format
2026-02-11 14:11:47 -08:00
Esun Kim
183da3e302
Typo in code (#3447)
* Typo in code

* Format
2026-02-11 20:34:42 +00:00
suleshahid
d7c42b9964
Add SQRT to Requantize Flatbuffer. (#2756)
BUG=Add more support for tool.
2024-11-12 20:40:15 +00:00
Artem Dementyev
9eaf512939
Added STRIDED_SLICE and CONCAT to simple ops in requantize_flatbuffer.py (#1994)
adding simple ops to requantize_flatbuffer.
BUG=http://b/283242131
2023-05-24 03:00:07 +00:00
Renjie
c12bd7628c
Add convolution ops into the requantizer tool (#1791)
BUG=http://b/270223278

Add convolution ops into the requantizer tool. Since conv ops are quantized per-channel, per-channel requantization on biases are also introduced in this PR.
2023-03-01 18:37:05 +00:00
Renjie
48b6cffeb2
Requantize constant tensors to int16 in requantizer (#1786)
BUG= http://b/268089648

Fix issues for the requantizer when the model has constant tensors. Some ops (like ADD) may operate on constant tensors, which require them to be requantized to int16 as well. 

Also added additional ops for layer norm
2023-02-27 19:18:30 +00:00
Renjie
760c908c26
A tool to convert int8 model to int16 (#1735)
BUG=http://b/266447344

A flatbuffer manipulation tool to requantize a int8 activation, int8 weight (8x8) PTQ model to int16 activation, int 8 weight (16x8) PTQ model. This tool targets for LSTM models only since the 16x8 LSTM is not supported in the standard TFLite conversion process.
2023-02-17 21:03:41 +00:00