An Open Source Machine Learning Framework for Everyone tensorflow.org
Go to file
Isaac Cilia Attard 1906c07174 Update README.md
Removed unnecessary spaces.
2023-05-07 20:02:50 +02:00
.github Update .github/workflows/stale-issues.yml 2023-03-08 09:34:43 -08:00
tensorflow Convert PyExecutable::execute_sharded to only return arrays. 2023-03-15 12:46:44 -07:00
third_party Integrate LLVM at llvm/llvm-project@a49118a3f4 2023-03-15 04:23:27 -07:00
tools
.bazelrc Remove references to the Bazel flag --distinct_host_configuration. 2023-03-10 14:22:41 -05:00
.bazelversion Updates Bazel version of TensorFlow build scripts. 2023-01-18 13:34:32 -08:00
.clang-format [.clang-format] Init @ root 2021-12-06 23:00:43 -05:00
.gitignore
.pylintrc
.zenodo.json Add .zenodo.json for clean automated DOI numbers. 2021-05-18 12:19:25 -07:00
arm_compiler.BUILD Update the compiler_pieces of the RPi ARM compiler. 2021-04-12 12:17:46 +01:00
AUTHORS Add Arm Ltd to AUTHORS 2022-03-03 16:11:48 +01:00
BUILD
CITATION.cff Add CITATION.cff 2021-09-06 10:26:23 -05:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT and fix broken sync 2021-02-05 10:43:16 -08:00
CODEOWNERS Remove myself from CODEOWNERS as I will no longer be in TF. 2022-05-27 14:02:49 -07:00
configure
configure.cmd
configure.py Add -oss_excluded to TF build/test tag filters 2023-03-13 17:54:07 -07:00
CONTRIBUTING.md [Docs] CONTRIBUTING.md: Fix incorrect description of the single component unit test 2023-01-01 18:52:00 +08:00
fuzztest.bazelrc Add fuzztest.bazelrc and tf_fuzztest config to .bazelrc 2023-01-13 16:55:11 -08:00
ISSUE_TEMPLATE.md
ISSUES.md Internal change 2021-02-11 14:37:27 -08:00
LICENSE Remove duplicate LICENSE information for third_party dependencies and add license information from ACKNOWLEDGEMENTS to main license file. 2021-11-29 09:31:56 -08:00
models.BUILD
README.md Update README.md 2023-05-07 20:02:50 +02:00
RELEASE.md Layout delegates most of the functionality to C++. 2023-03-14 13:40:11 -07:00
SECURITY.md Updates TF SECURITY.md to point to VRP intake form. 2023-02-22 10:26:29 -08:00
WORKSPACE Prevent buildifier warning in WORKSPACE file. 2021-02-01 12:06:13 -08:00

Python PyPI DOI CII Best Practices OpenSSF Scorecard Fuzzing Status Fuzzing Status OSSRank Contributor Covenant

Documentation
Documentation

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

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

Build Type Status Artifacts
Linux CPU Status PyPI
Linux GPU Status PyPI
Linux XLA Status TBA
macOS Status PyPI
Windows CPU Status PyPI
Windows GPU Status PyPI
Android Status Download
Raspberry Pi 0 and 1 Status Py3
Raspberry Pi 2 and 3 Status Py3
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

Learn more about the TensorFlow community and how to contribute.

Courses

License

Apache License 2.0