Files
kotlin-fork/samples/tensorflow
Julius Kunze 7afa5e395a Added TensorFlow sample (#541)
* Added TensorFlow sample

* Added graph to TensorFlow sample

* Added session to TensorFlow sample

* added description to readme, cleaned up tensorflow.def, used lambda for deallocator, call Status.delete on error
2017-05-03 13:03:18 +03:00
..
2017-05-03 13:03:18 +03:00
2017-05-03 13:03:18 +03:00
2017-05-03 13:03:18 +03:00

TensorFlow demo

Small Hello World calculation on the TensorFlow backend, arranging simple operations into a graph and running it on a session. Like other TensorFlow clients (e. g. for Python), this example is built on top of the TensorFlow C API, showing how a TensorFlow client in Kotlin/Native could look like.

##Installation

Install TensorFlow for C into /usr/local.

Compile:

./build.sh

Run:

./HelloTensorflow.kexe