引导式测验 · 中等 等级

用于移动测验的 TensorFlow Lite 和 LiteRT

了解 TensorFlow Lite 到 LiteRT 的命名转换、转换、量化、委托和目标设备验证。

相关引导路径Tensorflow Lite 移动版
问题 1 的 8

What does LiteRT refer to in current Google AI Edge documentation?

预览每个问题8 问题

当您参加测验时,就会出现答案和解释。

  1. What does LiteRT refer to in current Google AI Edge documentation?
    • A dataset format used to train mobile models
    • A separate runtime unrelated to TensorFlow Lite
    • The on-device runtime historically known as TensorFlow Lite
    • A chipset-specific accelerator delegate
  2. What does a hardware delegate do in an on-device inference runtime?
    • Repartitions a model graph during training
    • Runs supported operations through an accelerator backend
    • Guarantees every graph operation runs on an NPU
    • Replaces the model's preprocessing and postprocessing
  3. Why check operator compatibility during model conversion?
    • It changes model architecture and labels automatically
    • It ensures all operators run on an accelerator
    • It selects the app's minimum operating-system version
    • 不支持的操作可能阻止转换或需要不同的运行时路径
  4. 量化可以为更小的模型或更快的执行换取什么?
    • 一定程度的数值精度
    • 每个模型操作符在每个运行时都可用
    • 需要在目标设备上进行基准测试
    • 应用程序的最低操作系统版本
  5. 为什么要在目标手机上测试 NPU 代理?
    • 所有手机 NPU 使用相同的操作符覆盖范围
    • 模型工件决定了安装了哪种手机芯片组
    • 代理可用性和支持的操作因设备和运行时而异
    • NPU 能保证执行每个模型操作
  6. 模型训练与移动推理之间应匹配什么?
    • 匹配模型架构,同时允许移动端预处理不同
    • 输入预处理和输出解释
    • 仅匹配模型文件扩展名
    • 仅匹配训练框架的接口
  7. 哪个基准更全面地覆盖移动用户体验?
    • 仅桌面转换时间
    • 仅训练集准确率
    • 仅导出文件大小
    • 目标设备上的冷加载、热延迟、内存和能耗
  8. 在维护期间应如何处理 TensorFlow Lite 和 LiteRT 的引用?
    • 在更改 API 之前检查版本特定的迁移和包指南
    • 假设每个旧教程都与当前包名匹配
    • 在任何旧应用加载之前重命名每个模型文件
    • 忽略运行时和模型工件的兼容性