mirror of
https://github.com/vee1e/tflite-micro.git
synced 2026-09-01 17:57:27 +00:00
Inference on a quantized model requires information about * input tensor quantization parameters (dtype, scale, zero point): to convert the input float data into the quantized one * output tensor quantization parameters: convert the quantized result back to float (i.e., sanity check with normal model output) This PR allows users to access these information from the python interpreter. It also refactored the error handling mechanism following TF and TFLite. BUG=b/245831075, b/246651364 |
||
|---|---|---|
| .. | ||
| interpreter | ||
| tflite_size | ||