TensorFlow C API for Jetson Nano

Hey!

Has anybody experience with building TensorFlow C API on Jetson Nano board? I would be especially interested in TensorFlow 2, but is it already available/possibile to run it?
Information about previous version also appreciated as there is not much about it in web.

I’ll be grateful for any help.

Regards,
Piotrek

You can simply follow tensorflow/README.md at master · tensorflow/tensorflow · GitHub

Also look out for build instructions and patches in this forum for specific TF versions.

Don’t know if this really works as my C developer experience is a bit rusty: as the Python bindings rely on the C-API you might copy libtensorflow_framework.so from your Python environment to you lib-path and use tensorflow/c_api.h at master · tensorflow/tensorflow · GitHub

Thank you! I will proceed with the topic after weekend and update if succeed or got stucked.

Regards!

Hey!
Actually I found a way to get C API for TF2 on one blog. Simply, follow this instructions:

You may need those 2 before for some prerequisite:

If you want to get libtensorflow.so (C API) instead of PIP package, you will need a slight change in the end of the script, in bazel build command.

Building TF lasted ~17 hours for me on Jetson Nano.

Regards!