Skip to Content
移动端AI与ML应用开发:基于iOS和Android
book

移动端AI与ML应用开发:基于iOS和Android

by Laurence Moroney
January 2023
Intermediate to advanced
288 pages
6h 6m
Chinese
China Machine Press
Content preview from 移动端AI与ML应用开发:基于iOS和Android
125
8
更深入:了解 TensorFlow Lite
到目前为止,你在本书中看到的所有机器学习技术的基础都是 TensorFlow。这是一个允
许你构建、训练和测试机器学习模型的框架,我们在第 1 章和第 2 章对此进行了介绍。
TensorFlow 模型通常不是为移动场景而设计的,在这些场景中,必须考虑大小、电池消
耗以及可能影响移动用户体验的所有其他因素。为此,TensorFlow Lite 的创建有两个主
要目标。第一,它可用于将现有的 TensorFlow 模型转换为更小、更紧凑的格式,着眼于
针对移动设备进行优化。第二则是为可用于模型推理的各种移动平台提供高效的运行环
境。在本章中,我们将探索 TensorFlow Lite 并深入了解可用于转换使用 TensorFlow
练的模型的工具,以及如何使用工具来优化它们。
我们将首先简要介绍为什么它很重要,然后我们可以“卷起袖子”深入了解位和字节……
8.1
什么是
TensorFlow Lite
需要像 TensorFlow Lite 这样的东西背后的基本原理是由几个因素驱动的。首先是个人设
备数量的爆炸式增长。运行 iOS Android 的移动设备作为主要计算设备的数量已经超
过了传统的台式机或笔记本电脑,而嵌入式系统的数量也超过了移动设备。运行机器学
习模型的需求也随之增长。
但是,我们在这里要专注于智能手机,以及智能手机的用户体验。如果机器学习模型在
服务器领域,并且没有移动运行时环境,则必须将它们的功能包装在移动设备可以调用
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

人工智能驱动的商业智能

人工智能驱动的商业智能

Tobias Zwingmann
Lua游戏AI开发指南

Lua游戏AI开发指南

Posts & Telecom Press, David Young
人工智能技术与大数据

人工智能技术与大数据

Posts & Telecom Press, Anand Deshpande, Manish Kumar

Publisher Resources

ISBN: 9787111713081