Description
Autograph R for 'Tensorflow'.
Description
Translate R control flow expressions into 'Tensorflow' graphs.
README.md
tfautograph
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:
Demos
- Full MNIST training loop using
autograph
and Tensorflow 2.
Additional Articles:
- Control dependencies in Tensorflow version 1
- Giving
autograph
hints
Installation
You can install tfautograph from CRAN with:
install.packages("tfautograph")
You can install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("t-kalinowski/tfautograph")