August 2019
Intermediate to advanced
202 pages
5h 9m
English
Using TFLite on iOS is a similar process, which includes installing the TFLite interpreter, loading the model, and running it. Once again, follow the steps in the Getting started with TFLite section in order to create and convert a machine learning model for use on a smartphone. We will use the following steps to implement TFLite on iOS:
use_frameworks!pod 'TensorFlowLiteSwift'
Install the package by running pod install, which will install all the packages included in the pod file, including the newly added TFLite package. Once installed, the package can be imported by adding import TensorFlowLite near the top of the swift file.
Read now
Unlock full access