Generate the TensorFlow protobuf library

Use the script provided by Arm NN to generate C++ sources and headers using the protobuf compiler, to provide the protobuf code that can interpret the TensorFlow data format.

To do this, change to the TensorFlow directory and enter:

<Arm NN directory>/armnn/scripts/ <OUTPUT_DIR> <the protobuf install directory>

For example:

$ cd $BASEDIR/tensorflow
$ ../armnn/scripts/ ../tensorflow-protobuf ../protobuf-host
Previous Next