Clone this repo:
  1. 269efd3 Merge pull request #28826 from astropeak:issue-27492-custom-gradient by TensorFlower Gardener · 46 minutes ago master
  2. f3da709 Keras model saving: always set the batch dimension of the input shape to None when determining input_shape from inputs. by Karmel Allison · 51 minutes ago
  3. 64a6966 Merge pull request #25833 from a6802739:environment_capture by TensorFlower Gardener · 56 minutes ago
  4. 17266ed [] Reduce verbosity of a possibly spurious warning. by Jiri Simsa · 62 minutes ago
  5. 225113a Fix assert_shallow_structure length checks for non map collections. by Oscar Ramirez · 71 minutes ago


TensorFlow is an open source software library for numerical computation using data flow graphs. The graph nodes represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) that flow between them. This flexible architecture enables you to deploy computation to one or more CPUs or GPUs in a desktop, server, or mobile device without rewriting code. TensorFlow also includes TensorBoard, a data visualization toolkit.

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. The system is general enough to be applicable in a wide variety of other domains, as well.

TensorFlow provides stable Python and C APIs as well as non-guaranteed backwards compatible API's for C++, Go, Java, JavaScript, and Swift.

Keep up to date with release announcements and security updates by subscribing to


To install the current release for CPU-only:

pip install tensorflow

Use the GPU package for CUDA-enabled GPU cards:

pip install tensorflow-gpu

See Installing TensorFlow for detailed instructions, and how to build from source.

People who are a little more adventurous can also try our nightly binaries:

Nightly pip packages * We are pleased to announce that TensorFlow now offers nightly pip packages under the tf-nightly and tf-nightly-gpu project on PyPi. Simply run pip install tf-nightly or pip install tf-nightly-gpu in a clean environment to install the nightly TensorFlow build. We support CPU and GPU packages on Linux, Mac, and Windows.

Try your first TensorFlow program

$ python
>>> import tensorflow as tf
>>> tf.enable_eager_execution()
>>> tf.add(1, 2).numpy()
>>> hello = tf.constant('Hello, TensorFlow!')
>>> hello.numpy()
'Hello, TensorFlow!'

Learn more examples about how to do specific tasks in TensorFlow at the tutorials page of

Contribution guidelines

If you want to contribute to TensorFlow, be sure to review the contribution guidelines. This project adheres to TensorFlow's code of conduct. By participating, you are expected to uphold this code.

We use GitHub issues for tracking requests and bugs, please see TensorFlow Discuss for general questions and discussion, and please direct specific questions to Stack Overflow.

The TensorFlow project strives to abide by generally accepted best practices in open-source software development:

CII Best Practices

Continuous build status

Official Builds

Build TypeStatusArtifacts
Linux CPUStatuspypi
Linux GPUStatuspypi
Linux XLAStatusTBA
Windows CPUStatuspypi
Windows GPUStatuspypi
Raspberry Pi 0 and 1Status StatusPy2 Py3
Raspberry Pi 2 and 3Status StatusPy2 Py3

Community Supported Builds

Build TypeStatusArtifacts
IBM s390xBuild StatusTBA
Linux ppc64le CPU NightlyBuild StatusNightly
Linux ppc64le CPU Stable ReleaseBuild StatusRelease
Linux ppc64le GPU NightlyBuild StatusNightly
Linux ppc64le GPU Stable ReleaseBuild StatusRelease
Linux CPU with Intel® MKL-DNN NightlyBuild StatusNightly
Linux CPU with Intel® MKL-DNN
Supports Python 2.7, 3.4, 3.5, and 3.6
Build Status1.13.1 pypi
Red Hat® Enterprise Linux® 7.6 CPU & GPU
Python 2.7, 3.6
Build Status1.13.1 pypi

For more information

Learn more about the TensorFlow community at the community page of for a few ways to participate.


Apache License 2.0