# 转换 TensorFlow Lite 模型

Source: [https://docs.qualcomm.com/doc/80-70014-54Y/topic/convert-tensorflow-lite-models.html](https://docs.qualcomm.com/doc/80-70014-54Y/topic/convert-tensorflow-lite-models.html)

可将 TensorFlow 模型转换为 TensorFlow Lite 模型，并针对设备推理目的对其进行优化。

有关 TensorFlow Lite 模型转换的更多详细信息，参见[模型转换概述](https://www.tensorflow.org/lite/models/convert)。

TensorFlow Lite 模型转换支持将模型转换为以下格式：

- 32 位浮点精度
- 16 位浮点精度
- UINT8/INT8 精度（量化模型）

- **[使用现有的 TensorFlow Lite 模型](https://docs.qualcomm.com/doc/80-70014-54Y/topic/use-an-existing-tensorflow-lite-model.html)**  

可使用 TensorFlow Lite Runtime 部署开源社区中现有的 TensorFlow Lite 模型。
- **[将 TensorFlow 或 Keras 模型转换为 TensorFlow Lite 格式](https://docs.qualcomm.com/doc/80-70014-54Y/topic/convert-a-tensorflow-or-keras-model-to-tensorflow-lite-format.html)**  

TensorFlow 框架提供 Python API 和 CLI 工具，用于将 TensorFlow 或 Keras 模型转换为 TensorFlow Lite 格式。

**Parent Topic:** [TensorFlow Lite 开发者工作流程](https://docs.qualcomm.com/doc/80-70014-54Y/topic/tensorflow-lite-developer-workflow.html)

Last Published: Aug 06, 2024

[Previous Topic
TensorFlow Lite 开发者工作流程](https://docs.qualcomm.com/bundle/publicresource/80-70014-54Y/topics/tensorflow-lite-developer-workflow.md) [Next Topic
使用现有的 TensorFlow Lite 模型](https://docs.qualcomm.com/bundle/publicresource/80-70014-54Y/topics/use-an-existing-tensorflow-lite-model.md)