R Interface to 'TensorFlow'

Interface to 'TensorFlow' < https://www.tensorflow.org/>, an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) communicated between them. The flexible architecture allows you to deploy computation to one or more 'CPUs' or 'GPUs' in a desktop, server, or mobile device with a single 'API'. 'TensorFlow' was originally developed by researchers and engineers working on the Google Brain Team within Google's Machine Intelligence research organization for the purposes of conducting machine learning and deep neural networks research, but the system is general enough to be applicable in a wide variety of other domains as well.


Development version

TensorFlow 1.13.1 (CRAN)

  • added option to silence TF CPP info output

  • tf_gpu_configured function to check if GPU was correctly

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


2.6.0 by Tomasz Kalinowski, 2 months ago


Report a bug at https://github.com/rstudio/tensorflow/issues

Browse source code at https://github.com/cran/tensorflow

Authors: Daniel Falbel [ctb, cph] , JJ Allaire [aut, cph] , RStudio [cph, fnd] , Yuan Tang [aut, cph] , Dirk Eddelbuettel [ctb, cph] , Nick Golding [ctb, cph] , Tomasz Kalinowski [ctb, cph, cre] , Google Inc. [ctb, cph] (Examples and Tutorials)

Documentation:   PDF Manual  

Task views: Machine Learning & Statistical Learning, High-Performance and Parallel Computing with R, Model Deployment with R

Apache License 2.0 license

Imports config, processx, reticulate, tfruns, utils, yaml, tfautograph, rstudioapi

Suggests testthat, keras, callr

System requirements: TensorFlow (https://www.tensorflow.org/)

Imported by FuncNN, LDNN, ML2Pvae, deepredeff, deepregression, digitalDLSorteR, downscaledl, embed, ganGenerativeData, gnn, greta, iSubGen, keras, kerastuneR, snap, tfaddons, tfdatasets, tfdeploy, tfestimators, tfhub, tfio, tfprobability.

Depended on by sgmcmc.

Suggested by JFE, Platypus, bamlss, cloudml, dimRed, iForecast, scaffolder, tfautograph.

See at CRAN