
LiteRT 架构
LiteRT 设备端推理
LiteRT 设备端推理过程将模型加载到解释器中,解释器解析模型并使用委托来运行它。 该过程包括以下步骤:1
将模型加载到解释器中
推理过程将 LiteRT 模型加载到 LiteRT 解释器接口中,解释器接口解析模型以识别其中包含的神经网络算子。
2
使用委托配置解释器
将解释器接口配置为使用委托运行模型。
3
调用推理
解释器对提供的输入调用模型推理,并将相应的输出保存到提供给解释器接口的缓冲区中。
- CPU
- Adreno GPU
- NPU
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
🚀 QLI Version 2.1 is now live ! Switch to new version to check out the latest content
LiteRT 框架在 Qualcomm Dragonwing IoT 平台上进行设备端 AI 推理的概述,包括支持的委托和加速器。

LiteRT 架构
将模型加载到解释器中
使用委托配置解释器
调用推理
| 委托 | 加速 |
|---|---|
| XNNPACK 委托 | CPU |
| GPU 委托 | GPU |
| Qualcomm® AI Engine Direct 委托(QNN 委托) | CPU、GPU 和 NPU |
此页面对您有帮助吗?
