GitHub - fazibear/tensorflow.cr: Crystal binding for TensorFlow. (original) (raw)

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

See examples repository.

Contributing

  1. Fork it ( https://github.com/fazibear/tensorflow/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Thank you!

Become Patreon