tensorflow

Version, currently master branch1 version
  • master branchlatestAug 23, 2018

github.com/fazibear/tensorflow.cr

Crystal binding for TensorFlow.

39 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  tensorflow:
    github: fazibear/tensorflow.cr
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.20.5
License
MIT
Author
Michał Kalbarczyk <fazibear@gmail.com>

Dependencies

This version declares no dependencies.

Documentation

Read the API documentation

Generated from the source of the current release. The first visit to a release that has never been documented starts its build.

README

# tensorflow.cr

Crystal binding for [TensorFlow](https://github.com/tensorflow/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](https://github.com/tensorflow/tensorflow/).

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`:

```yaml
dependencies:
  tensorflow:
    github: fazibear/tensorflow.cr
```

## Usage

```crystal
require "tensorflow"
```

See [examples](https://github.com/fazibear/tensorflow.cr_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](https://github.com/fazibear) Michał Kalbarczyk - creator, maintainer

## Thank you!

[![Become Patreon](https://c5.patreon.com/external/logo/become_a_patron_button.png)](https://www.patreon.com/bePatron?u=6912974)