TensorFlow for R


TensorFlow for R

TensorFlow™ is 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.

The TensorFlow API is composed of a set of Python modules that enable constructing and executing TensorFlow graphs. The tensorflow package provides access to the complete TensorFlow API from within R.


Install the main TensorFlow distribution:

Install the tensorflow R package:


The tensorflow package will be built against the default version of python found in the PATH. If you want to build against a specific version of python you can define the TENSORFLOW_PYTHON_VERSION environment variable before installing. For example:

Verify that your installation is working

Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/6D6Vcv_e-T0/tensorflow

Original article

Comments are closed.

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: