Book Image

Intelligent Mobile Projects with TensorFlow

By : Jeff Tang
Book Image

Intelligent Mobile Projects with TensorFlow

By: Jeff Tang

Overview of this book

As a developer, you always need to keep an eye out and be ready for what will be trending soon, while also focusing on what's trending currently. So, what's better than learning about the integration of the best of both worlds, the present and the future? Artificial Intelligence (AI) is widely regarded as the next big thing after mobile, and Google's TensorFlow is the leading open source machine learning framework, the hottest branch of AI. This book covers more than 10 complete iOS, Android, and Raspberry Pi apps powered by TensorFlow and built from scratch, running all kinds of cool TensorFlow models offline on-device: from computer vision, speech and language processing to generative adversarial networks and AlphaZero-like deep reinforcement learning. You’ll learn how to use or retrain existing TensorFlow models, build your own models, and develop intelligent mobile apps running those TensorFlow models. You'll learn how to quickly build such apps with step-by-step tutorials and how to avoid many pitfalls in the process with lots of hard-earned troubleshooting tips.
Table of Contents (14 chapters)

Using TensorFlow Lite and Core ML on Mobile

In the previous nine chapters, we've used TensorFlow Mobile to run all kinds of powerful deep learning models, built with TensorFlow and Keras, on mobile. As we mentioned in Chapter 1, Getting Started with Mobile TensorFlow, Google also offers TensorFlow Lite, an alternative to TensorFlow Mobile, to run models on mobile. Although it's still in the developer preview as of Google I/O 2018, it's intended by Google to "greatly simplify the developer experience of targeting a model for small devices." So it's worth taking a look at TensorFlow Lite in detail and being ready for the future.

If you're an iOS developer or work with both iOS and Android, Apple's annual Worldwide Developers Conference (WWDC) is an event you don't want to miss. In WWDC 2017, Apple announced the new Core ML framework to...