GSoC '17 - R language bindings for TensorFlow
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R Minor fix in onehot encoding in example Aug 30, 2017
man Added cran-comments for CRAN release Sep 1, 2017
src Removed UTF encoding for usage in ASCII locale Sep 2, 2017
tests
vignettes Changed title placeholder in vignette Sep 2, 2017
.Rbuildignore
.gitignore Removed UTF encoding for usage in ASCII locale Sep 2, 2017
DESCRIPTION Minor changes for CRAN release Sep 18, 2017
NAMESPACE Updated documentation for few functions Aug 3, 2017
NEWS.md
README.md Added note for macOS users Aug 12, 2017
cleanup Added cleanup script Aug 21, 2017
configure removed op name param dependency for new ops Jul 5, 2017
configure.ac removed op name param dependency for new ops Jul 5, 2017
cran-comments.md Added cran-comments for CRAN release Sep 1, 2017

README.md

TensorFlow R Binding

RTensorFlow provides idiomatic R language bindings for TensorFlow.

Notice: This project is still under active development and not guaranteed to have a stable API. This is especially true because the underlying TensorFlow C API has not yet been stabilized as well.

Getting Started

Since this package depends on the TensorFlow C API, it needs to be installed from Tensorflow website.

Manual Tensorflow C API Installation

The Tensorflow C API libtensorflow.so can directly be installed onto the host machine by following the instructions in this link

Make sure you install the library in the default directory (/usr/local)

macOS Note : There is a homebrew formula to install libtensorflow without any hassle.

Usage

Upon installing libtensorflow.so in the default directory,

  1. install.packages("devtools")
  2. library(devtools)
  3. install_github("wazeerzulfikar/rtensorflow")
  4. library(rtensorflow)
  5. For examples on how to use the R API, look at R/examples.R

Contributing

Developers and users are welcome to contribute!

License

This project is licensed under the terms of the Apache 2.0 license.