stephane.bio
  • Invest
  • Build
  • Write
  • Think
Ketchup

tensorflow/tensorflow: An Open Source Machine Learning Framework for Everyone

URL
https://github.com/tensorflow/tensorflow
image
image
image
image
image
image
image
image
image
image
image
image

Documentation

image

TensorFlow is an end-to-end open source platform for machine learning. It has a comprehensive, flexible ecosystem of tools, libraries, and community resources that lets researchers push the state-of-the-art in ML and developers easily build and deploy ML-powered applications.

TensorFlow was originally developed by researchers and engineers working within the Machine Intelligence team at Google Brain to conduct research in machine learning and neural networks. However, the framework is versatile enough to be used in other areas as well.

TensorFlow provides stable Python and C++ APIs, as well as a non-guaranteed backward compatible API for other languages.

Keep up-to-date with release announcements and security updates by subscribing to announce@tensorflow.org. See all the mailing lists.

Install

See the TensorFlow install guide for the pip package, to enable GPU support, use a Docker container, and build from source.

To install the current release, which includes support for CUDA-enabled GPU cards (Ubuntu and Windows):

$ pip install tensorflow

Other devices (DirectX and MacOS-metal) are supported using Device plugins.

A smaller CPU-only package is also available:

$ pip install tensorflow-cpu

To update TensorFlow to the latest version, add --upgrade flag to the above commands.

Nightly binaries are available for testing using the tf-nightly and tf-nightly-cpu packages on PyPi.

Try your first TensorFlow program

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

For more examples, see the TensorFlow tutorials.

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 Forum 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.

Patching guidelines

Follow these steps to patch a specific version of TensorFlow, for example, to apply fixes to bugs or security vulnerabilities:

  • Clone the TensorFlow repo and switch to the corresponding branch for your desired TensorFlow version, for example, branch r2.8 for version 2.8.
  • Apply (that is, cherry-pick) the desired changes and resolve any code conflicts.
  • Run TensorFlow tests and ensure they pass.
  • Build the TensorFlow pip package from source.

Continuous build status

You can find more community-supported platforms and configurations in the TensorFlow SIG Build community builds table.

Official Builds

Untitled

Build Type
Status
Artifacts
Files

Linux CPU

PyPI

https://camo.githubusercontent.com/1cb01a373115345478f04b0863685d84006868bdbb5328faad542724357eb465/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f74656e736f72666c6f772d6b6f6b6f726f2d6275696c642d6261646765732f7562756e74752d63632e737667

Linux GPU

PyPI

https://camo.githubusercontent.com/be2ef0e7a825bfbc1c26040bbe5d7740811b8f9ef05a838fc8111829cb55cac2/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f74656e736f72666c6f772d6b6f6b6f726f2d6275696c642d6261646765732f7562756e74752d6770752d7079332e737667

Linux XLA

TBA

https://camo.githubusercontent.com/1407884781d46598b6830585d3ca3cc899b33564d86938ed31928e7cd62dff31/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f74656e736f72666c6f772d6b6f6b6f726f2d6275696c642d6261646765732f7562756e74752d786c612e737667

macOS

PyPI

https://camo.githubusercontent.com/08e980c439c280276ab9571c03b2865fe962e40b98dfb23876f24f2bbcfd6492/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f74656e736f72666c6f772d6b6f6b6f726f2d6275696c642d6261646765732f6d61636f732d7079322d63632e737667

Windows CPU

PyPI

https://camo.githubusercontent.com/1130fa33cda0acad3086205d1a17e21c24f22239d90e3fb6fcfa77308c3bba61/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f74656e736f72666c6f772d6b6f6b6f726f2d6275696c642d6261646765732f77696e646f77732d6370752e737667

Windows GPU

PyPI

https://camo.githubusercontent.com/f3c1d4087d120561139e2e29320560bdf864ed3c631d3373bd6f7347c910d439/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f74656e736f72666c6f772d6b6f6b6f726f2d6275696c642d6261646765732f77696e646f77732d6770752e737667

Android

Download

https://camo.githubusercontent.com/8501469c7343064b71028058a050792e6d5ad44f34a7ac2772550a2b4e7395b6/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f74656e736f72666c6f772d6b6f6b6f726f2d6275696c642d6261646765732f616e64726f69642e737667

Raspberry Pi 0 and 1

Py3

https://camo.githubusercontent.com/2cb1b27846151be8ba5ef1bf030a4ee2b1b09ef1e61447748e0d7589348a9754/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f74656e736f72666c6f772d6b6f6b6f726f2d6275696c642d6261646765732f72706930312d7079332e737667

Raspberry Pi 2 and 3

Py3

https://camo.githubusercontent.com/0828a1598c29fe46d7aaaa07af9d8444423ac2113e9e382a129dfe06e3d6d7e0/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f74656e736f72666c6f772d6b6f6b6f726f2d6275696c642d6261646765732f72706932332d7079332e737667

Libtensorflow MacOS CPU

Status Temporarily Unavailable

Nightly Binary Official GCS

Libtensorflow Linux CPU

Status Temporarily Unavailable

Nightly Binary Official GCS

Libtensorflow Linux GPU

Status Temporarily Unavailable

Nightly Binary Official GCS

Libtensorflow Windows CPU

Status Temporarily Unavailable

Nightly Binary Official GCS

Libtensorflow Windows GPU

Status Temporarily Unavailable

Nightly Binary Official GCS

Resources

  • TensorFlow.org
  • TensorFlow Tutorials
  • TensorFlow Official Models
  • TensorFlow Examples
  • TensorFlow Codelabs
  • TensorFlow Blog
  • Learn ML with TensorFlow
  • TensorFlow Twitter
  • TensorFlow YouTube
  • TensorFlow model optimization roadmap
  • TensorFlow White Papers
  • TensorBoard Visualization Toolkit
  • TensorFlow Code Search

Learn more about the TensorFlow community and how to contribute.

Courses

  • Coursera
  • Udacity
  • Edx

License

Apache License 2.0

stephane.bio

Made with Notion, Published on Super - 2026 © Stephane Boghossian

LinkedInInstagramMediumGitHubXBehanceDiscordPinterest