December 2018
Intermediate to advanced
274 pages
7h 46m
English
First, we first create a simple model and save its computation graph as a serialized GraphDef file. After training the model, we then save the values of its variables into a checkpoint file. We have to turn these two files into an optimized standalone file, which is all we need to use inside the Android app.
For this tutorial, we create a very simple TensorFlow graph that implements a small use case that will calculate (a+b)2=c. Here, we are saving the input as a and b, and the output as c.
To implement this sample program, we are going to use Python. So, as a prerequisite, you need to install python in your machine and install the TensorFlow libraries on your machine using pip.
Read now
Unlock full access