7afa5e395a
* 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
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