Setup and download libraries

First, you need to create a new directory on your platform or board that you will use for building Arm NN for TensorFlow Lite.

Open a new terminal session and enter these commands on the command line to create a new directory called armnn-tflite:

$ mkdir armnn-tflite && cd armnn-tflite
$ export BASEDIR=`pwd`

Some of the example commands that we use in this guide expect that the $BASEDIR environment variable is set correctly. So, if you use multiple terminal sessions then ensure that the variable is set correctly in each session.

Next, use these commands to download the required Git repositories and source bundles.

$ git clone 
$ git clone
$ wget
$ tar xf boost_1_64_0.tar.bz2
$ git clone -b v3.5.2
$ git clone
cd tensorflow/
$ wget -O flatbuffers-1.12.0.tar.gz
$ tar xf flatbuffers-1.12.0.tar.gz
Previous Next