Navigation Menu

Skip to content

Octadero/Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

01_MNIST

Build and run

TensorFlow

Do not forget install libtensorflow. On mac OS:

brew install libtensorflow

Linux:

wget https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.4.0.tar.gz

Also, you can install it from sources, how to install TensorFlow from sources you can find here.

Xcode

To generate xcode project file you can call:

swift package -Xlinker -rpath -Xlinker /usr/local/Cellar/libtensorflow/1.4.0/lib generate-xcodeproj

You have to set rpath to you tensorflow library folder.

Build

swift build -Xlinker -rpath -Xlinker /usr/local/Cellar/libtensorflow/1.4.0/lib

Releases

No releases published

Packages

No packages published

Languages