Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/t-kalinowski/tfautograph

Autograph R for TensorFlow
https://github.com/t-kalinowski/tfautograph

autograph r tensorflow

Last synced: 10 days ago
JSON representation

Autograph R for TensorFlow

Awesome Lists containing this project

README

        

# tfautograph

[![CRAN status](https://www.r-pkg.org/badges/version/tfautograph)](https://CRAN.R-project.org/package=tfautograph)
[![R build status](https://github.com/t-kalinowski/tfautograph/workflows/R-CMD-check/badge.svg)](https://github.com/t-kalinowski/tfautograph/actions?workflow=R-CMD-check)

This package implements autograph for R.

It lets you use tensors in R control flow expressions like `if`, `while`
and `for` and automatically translates those expressions into tensorflow
graphs.

It is compatible with and tested against all Tensorflow versions \>=
1.15 (including versions 2.x).

## Learn More:

- [Getting Started](https://t-kalinowski.github.io/tfautograph/articles/tfautograph.html)

## Demos

- Full [MNIST training loop](https://t-kalinowski.github.io/tfautograph/articles/demo-mnist.html)
using `autograph` and Tensorflow 2.

## Additional Articles:

- Control dependencies in [Tensorflow version 1](https://t-kalinowski.github.io/tfautograph/articles/tf-v1.html)
- Giving `autograph` [hints](https://t-kalinowski.github.io/tfautograph/articles/hints.html)

## Installation

You can install tfautograph from CRAN with:

``` r
install.packages("tfautograph")
```

You can install the development version from
[GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("t-kalinowski/tfautograph")
```