tensorflow
tensorflow.cr
Crystal binding for TensorFlow.
This is an early-stage open-source project. You can call functions from bindings directly, but wrappers are not ready yet.
Requiments
You need to compile and install libtensorflow.so
from this repo.
Quick instructions:
$ ./configure
$ cd tensorflow
$ bazel build :libtensorflow.so
$ cp ../bazel-bin/tensorflow/libtensorflow.so /usr/local/lib/
Installation
Add this to your application's shard.yml
:
dependencies:
tensorflow:
github: fazibear/tensorflow.cr
Usage
require "tensorflow"
See examples repository.
Contributing
- Fork it ( https://github.com/fazibear/tensorflow/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- fazibear Michał Kalbarczyk - creator, maintainer