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).
- Full MNIST training loop
using
autograph
and Tensorflow 2.
- Control dependencies in Tensorflow version 1
- Giving
autograph
hints
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")