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).
autograph
and Tensorflow 2.autograph
hintsYou can install tfautograph from CRAN with:
You can install the development version from GitHub with: