{"id":15519087,"url":"https://github.com/danieldk/tensorflow","last_synced_at":"2025-04-15T16:37:32.479Z","repository":{"id":57499122,"uuid":"55085400","full_name":"danieldk/tensorflow","owner":"danieldk","description":"Go binding for Tensorflow","archived":false,"fork":false,"pushed_at":"2018-04-04T09:47:18.000Z","size":68,"stargazers_count":131,"open_issues_count":0,"forks_count":10,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-28T22:24:34.270Z","etag":null,"topics":["binding","golang","tensorflow"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danieldk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-30T18:03:05.000Z","updated_at":"2024-07-05T08:58:09.000Z","dependencies_parsed_at":"2022-08-28T14:20:59.219Z","dependency_job_id":null,"html_url":"https://github.com/danieldk/tensorflow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieldk%2Ftensorflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieldk%2Ftensorflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieldk%2Ftensorflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieldk%2Ftensorflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danieldk","download_url":"https://codeload.github.com/danieldk/tensorflow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249109567,"owners_count":21214171,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["binding","golang","tensorflow"],"created_at":"2024-10-02T10:19:59.424Z","updated_at":"2025-04-15T16:37:32.458Z","avatar_url":"https://github.com/danieldk.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Purpose\n\nThis binding was created to use Tensorflow in some existing Go projects that I\nhave/had. For this reason it only provides the functionality that I need(ed).\nThere are currently Go bindings brewing in upstream:\n\n  * Source: https://github.com/tensorflow/tensorflow/tree/master/tensorflow/go\n  * Issue: https://github.com/tensorflow/tensorflow/issues/10#issuecomment-245687757\n\nOnce they are done, it's better the use the upstream binding, since it is always\nin sync with the latest Tensorflow.\n\n# Building\n\nGet v0.8.0 of Tensorflow and build it:\n\n~~~{.bash}\n$ git clone https://github.com/tensorflow/tensorflow.git\n$ cd tensorflow\n$ git checkout v0.8.0\n$ git submodule init\n$ git submodule update\n$ ./configure\n$ bazel build -c opt tensorflow:libtensorflow.so\n~~~\n\nNow you need to put `tensor_c_api.h` and `libtensorflow.so` visible somewhere for cgo\nand your C compiler. On OS X using Homebrew:\n\n~~~{.bash}\n$ mkdir -p /usr/local/Cellar/tensorflow/0.8.0/{lib,include}\n$ cp bazel-bin/tensorflow/libtensorflow.so /usr/local/Cellar/tensorflow/0.8.0/lib\n$ cp tensorflow/core/public/tensor_c_api.h /usr/local/Cellar/tensorflow/0.8.0/include\n$ brew link tensorflow\n~~~\n\nNow you can build the Go package as normal.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieldk%2Ftensorflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanieldk%2Ftensorflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieldk%2Ftensorflow/lists"}