How to compile an ios example in a tensor stream

I just realized that tensor flow now supports ios. But how to compile an example in the contrib / ios_examples directory?

thank!

Josh

+4
source share
1 answer

We still finished all the documentation, but here is the README project, which I will add to the ios_examples directory. I would be interested to know if this helps, and if you have any ideas for improvement.

TensorFlow iOS Examples

This folder contains examples of creating applications for iOS devices using TensorFlow.

Building examples

, :

  • compile_ios_tensorflow , download_dependencies.sh compile_ios_protobuf.sh.

  • , 7.3 Xcode.

  • Eigen, Xcode. " " Eigen include, . , , tensorflow/contrib/makefile/downloads.

  • , , ++, TensorFlow , . , force_load, .

, TensorFlow. , :

  • `compile_ios_tensorflow.sh 'script tensorflow/contrib/makefile/gen/lib/libtensorflow-core.a. , tensorflow/contrib/makefile/gen/lib Path Library.

  • libprotobuf.a libprotobuf-lite.a tensorflow/contrib/makefile/gen/protobuf_ios/lib .

  • tensorflow, tensorflow/contrib/makefile/downloads/protobuf/src, tensorflow/contrib/makefile/downloads, tensorflow/contrib/makefile/downloads/eigen-eigen -, tensorflow/contrib/makefile/gen/proto.

  • "" -force_load, TensorFlow " ". , ++, , . , , .

  • , .

+12

All Articles