All Projects → danieldk → Tensorflow

danieldk / Tensorflow

Go binding for Tensorflow

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Tensorflow

Swiftyform
iOS framework for creating forms
Stars: ✭ 907 (+592.37%)
Mutual labels:  binding
Docker Bind
Bind caching DNS server on Debian with wild-card domain support
Stars: ✭ 50 (-61.83%)
Mutual labels:  binding
Nginx Haskell Module
Nginx module for binding Haskell code in configuration files for great good!
Stars: ✭ 99 (-24.43%)
Mutual labels:  binding
Ruby Apt Pkg
Ruby interface to apt-pkg
Stars: ✭ 15 (-88.55%)
Mutual labels:  binding
Cppzmq
Header-only C++ binding for libzmq
Stars: ✭ 1,045 (+697.71%)
Mutual labels:  binding
Proteus
Proteus : A JSON based LayoutInflater for Android
Stars: ✭ 1,179 (+800%)
Mutual labels:  binding
Go Tagexpr
An interesting go struct tag expression syntax for field validation, etc.
Stars: ✭ 807 (+516.03%)
Mutual labels:  binding
Go Sdl2
SDL2 binding for Go
Stars: ✭ 1,667 (+1172.52%)
Mutual labels:  binding
Scala Js Binding
ScalaJS html binding library
Stars: ✭ 48 (-63.36%)
Mutual labels:  binding
Query State
Application state in query string
Stars: ✭ 88 (-32.82%)
Mutual labels:  binding
Godot Python
Python support for Godot 🐍🐍🐍
Stars: ✭ 944 (+620.61%)
Mutual labels:  binding
Eclipse Smarthome Bluetooth Binding
Eclipse SmartHome Bluetooth Binding
Stars: ✭ 44 (-66.41%)
Mutual labels:  binding
Expostal
Elixir binding for Libpostal - a library for parsing/normalizing street addresses around the world. Powered by statistical NLP and open geo data.
Stars: ✭ 80 (-38.93%)
Mutual labels:  binding
Glbind
Single file OpenGL API loader.
Stars: ✭ 23 (-82.44%)
Mutual labels:  binding
Samples
Community driven repository for Dapr samples
Stars: ✭ 104 (-20.61%)
Mutual labels:  binding
Vuex Mappers
Component agnostic Vuex mappers
Stars: ✭ 19 (-85.5%)
Mutual labels:  binding
Slacko
A neat interface for Slack
Stars: ✭ 64 (-51.15%)
Mutual labels:  binding
Nukleardotnet
.NET binding for the Nuklear immediate mode GUI
Stars: ✭ 126 (-3.82%)
Mutual labels:  binding
Vkbind
Single file Vulkan API loader.
Stars: ✭ 110 (-16.03%)
Mutual labels:  binding
Raylib Lua
A simple and easy-to-use Lua library to enjoy videogames programming
Stars: ✭ 80 (-38.93%)
Mutual labels:  binding

Purpose

This binding was created to use Tensorflow in some existing Go projects that I have/had. For this reason it only provides the functionality that I need(ed). There are currently Go bindings brewing in upstream:

Once they are done, it's better the use the upstream binding, since it is always in sync with the latest Tensorflow.

Building

Get v0.8.0 of Tensorflow and build it:

$ git clone https://github.com/tensorflow/tensorflow.git
$ cd tensorflow
$ git checkout v0.8.0
$ git submodule init
$ git submodule update
$ ./configure
$ bazel build -c opt tensorflow:libtensorflow.so

Now you need to put tensor_c_api.h and libtensorflow.so visible somewhere for cgo and your C compiler. On OS X using Homebrew:

$ mkdir -p /usr/local/Cellar/tensorflow/0.8.0/{lib,include}
$ cp bazel-bin/tensorflow/libtensorflow.so /usr/local/Cellar/tensorflow/0.8.0/lib
$ cp tensorflow/core/public/tensor_c_api.h /usr/local/Cellar/tensorflow/0.8.0/include
$ brew link tensorflow

Now you can build the Go package as normal.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].