| Commit message (Collapse) | Author | Age |
|
|
|
| |
PiperOrigin-RevId: 214835588
|
|
|
|
| |
PiperOrigin-RevId: 214705311
|
|
|
|
| |
PiperOrigin-RevId: 214674717
|
|
|
|
| |
PiperOrigin-RevId: 211621189
|
|
|
|
| |
PiperOrigin-RevId: 211124183
|
|
|
|
| |
PiperOrigin-RevId: 202249095
|
|
|
|
|
|
| |
Finds float weight tensors, quantizes them to 8 bits, and adds Dequantize operations after them.
PiperOrigin-RevId: 198955123
|
|
|
|
| |
PiperOrigin-RevId: 198943559
|
|
|
|
| |
PiperOrigin-RevId: 195260578
|
|
|
|
| |
PiperOrigin-RevId: 193395910
|
|
|
|
| |
PiperOrigin-RevId: 193362891
|
|
|
|
|
|
| |
PropagateFakeQuantNumBits.
PiperOrigin-RevId: 193232630
|
|
|
|
| |
PiperOrigin-RevId: 190242571
|
|
|
|
| |
PiperOrigin-RevId: 186650338
|
|
|
|
| |
PiperOrigin-RevId: 183415713
|
|
|
|
| |
PiperOrigin-RevId: 177824668
|
|
|
|
| |
PiperOrigin-RevId: 176680726
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. --input_type[s] is deprecated. Its semantics were not clearly defined,
and included both ModelFlags-like semantics (describing a property
of the input file) and TocoFlags-like semantics (describing a requested
property of the output file).
2. New ModelFlags: --input_data_type[s], represented as a new 'type'
field on each input array proto. This is unambiguously describing a
property of the input file, similar to the existing input_array[s],
input_shape[s] etc.
3. New TocoFlag: --inference_input_type. This is essentially the new
name of --input_type, except that it's purely a transformation flag,
only describing a property of the requested output file, not anymore
mixed with ModelFlags-like semantics (now taken care of by 2.).
The name --inference_input_type makes it clear that it's a
companion of --inference_type. Also, --inference_input_type is now
optional, defaulting to using the same value as --inference_type.
This reflects the fact that most users want to do either float
inference on a float input, or quantized inference on a quantized
input. The only case at the moment where --inference_input_type
is needed, is for doing float inference on a quantized input,
which is typically done in some vision applications where the
input is a bitmap image with integer-quantized channels.
PiperOrigin-RevId: 176356352
|
|
PiperOrigin-RevId: 175307445
|