Where the model actually runs
The TFLite Interpreter is the runtime that executes .tflite models on device. On Python (useful for testing on desktop before deploying to mobile), use tf.lite.Interpreter.
Delegates let TFLite offload computation to specialized hardware. Each delegate is a plugin — TFLite tries each supported op on the delegate first, falls back to CPU for unsupported ops.
| Delegate | Hardware | Platform | Supported quant |
|---|---|---|---|
| GPU Delegate | OpenCL/Metal GPU | Android, iOS, Linux | fp32, fp16, dynamic range |
| Core ML Delegate | Neural Engine (A12+) | iOS 12+ | fp32, fp16 |
| Edge TPU | Coral Edge TPU | Linux/Win/macOS | full int8 only |
| NNAPI | Neural Proc Unit | Android 8.1–14 | varies by device |
The delegate choice and quantization choice are coupled. Targeting Coral Edge TPU? You must use full int8 quantization. Targeting iOS Neural Engine? Use fp16. Picking a quantization tier without considering the deployment target wastes work.