You must create a directory on the platform or board that you use for building Arm NN. This action is the default installation behavior for Arm NN. You can optionally add support for other frameworks. Use the following instructions to download the required libraries:
- Open a new terminal session and enter the following commands on the command line to create a new directory called
Note: 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, ensure that the variable is set correctly in each session.
- Use the following commands to download the Arm Compute Library, Arm NN SDKs, and install the Boost package:
Note: Arm Compute Library and Arm NN are closely developed and released. You must have corresponding versions of Arm Compute Library and Arm NN. For example, if you have the 20.11 release of Arm NN, you must use the 20.11 release of Arm Compute Library.
$ git clone https://github.com/Arm-software/ComputeLibrary.git $ git clone https://github.com/Arm-software/armnn $ sudo apt-get install libboost-all-dev
- Use the following commands to download the required Git repositories and source bundles:
$ git clone -b v3.12.0 https://github.com/google/protobuf.git $ git clone https://github.com/tensorflow/tensorflow.git cd tensorflow/ git checkout fcc4b966f1265f466e82617020af93670141b009 $ wget -O flatbuffers-1.12.0.tar.gz https://github.com/google/flatbuffers/archive/v1.12.0.tar.gz $ tar xf flatbuffers-1.12.0.tar.gz