migueldeicaza / TensorFlowSharp

TensorFlow API for .NET languages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libtensorflow for arm64 architecture

SestoAle opened this issue · comments

Hi!

I used TensorFlowSharp with Unity to make a project for mobile systems. Due to the new Android requirements, I need to deploy an arm64 version of my game, but I'm no able to build tensorflow and create a libtensorflow.so for this kind of systems.

I found various solutions on the internet but none seem to work (or they are too complex to follow), is there anyone who can help me find a simple solution to build tensorflow for arm64 or anyone who has a libtensorflow.so already compiled for arm64?

I'm using macOS Catalina to work.

Thanks!

commented

Hi,

I have only pretty out dated binary... I built it my project for while ago. link

By the way, you could build yourself too.

  1. Clone tensorflow
  2. Edit version_script.Ids. Add TF_* at line 7.
  3. Follow this page, and copy artifact (bazel-bin/tensorflow/contrib/android/libtensorflow_inference.so)

Thanks! I was able to compile the library for arm64 by myself, thanks for the tips!