Octadero / Example

Repository for samples.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Repository for samples.

License:Apache License 2.0


Languages

Language:Swift 100.0%