tensorflow.cr

Crystal binding for 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

  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

  • fazibear Michał Kalbarczyk - creator, maintainer

Thank you!

Become Patreon

Repository

tensorflow.cr

Owner
Statistic
  • 39
  • 4
  • 5
  • 0
  • 0
  • about 6 years ago
  • March 2, 2017
License

MIT License

Links
Synced at

Sun, 17 Nov 2024 21:31:01 GMT

Languages