TensorFlow
Install Learn
  • Introduction
    New to TensorFlow?
  • TensorFlow
    The core open source ML library
  • For JavaScript
    TensorFlow.js for ML using JavaScript
  • For Mobile & IoT
    TensorFlow Lite for mobile and embedded devices
  • For Production
    TensorFlow Extended for end-to-end ML components
  • Swift for TensorFlow (in beta)
API
  • TensorFlow (r2.4)
  • r1.15
  • Versions…
  • TensorFlow.js
  • TensorFlow Lite
  • TFX
Resources
  • Models & datasets
    Pre-trained models and datasets built by Google and the community
  • Tools
    Ecosystem of tools to help you use TensorFlow
  • Libraries & extensions
    Libraries and extensions built on TensorFlow
  • TensorFlow Certificate program
    Differentiate yourself by demonstrating your ML proficiency
  • Learn ML
    Educational resources to learn the fundamentals of ML with TensorFlow
  • Responsible AI
    Resources and tools to integrate Responsible AI practices into your ML workflow
Community Why TensorFlow
  • About
  • Case studies
  • AI Service Partners
GitHub
  • TensorFlow Core v2.4.0
Overview Python C++ Java
TensorFlow
  • Install
  • Learn
    • More
  • API
    • More
    • Overview
    • Python
    • C++
    • Java
  • Resources
    • More
  • Community
  • Why TensorFlow
    • More
  • GitHub
  • Overview
  • TensorFlow
  • TensorFlow JavaScript
  • TensorFlow Lite
  • TensorFlow Extended
  • Swift for TensorFlow
  • Versions
  • Overview
  • 2.4 (stable)
  • 1.15
  • More…
    • 2.3
    • 2.2
    • 2.1
    • 2.0
    • 1.14
    • 1.13
    • 1.12
    • 1.11
    • 1.10
    • 1.9
    • 1.8
    • 1.7
    • 1.6
    • 1.5
    • 1.4
    • 1.3
    • 1.2
    • 1.1
    • 1.0
  • Other languages
  • Go
  • Haskell
  • Community Supported
    • C#
    • Julia
    • R
    • Ruby
    • Rust
    • Scala
  • Resources
  • Addons
  • Datasets
  • Federated
  • Graphics
  • Hub
  • Model Optimization
  • Neural Structured Learning
  • Probability
  • Introduction
  • TensorFlow
  • For JavaScript
  • For Mobile & IoT
  • For Production
  • Swift for TensorFlow (in beta)
  • TensorFlow (r2.4)
  • r1.15
  • Versions…
  • TensorFlow.js
  • TensorFlow Lite
  • TFX
  • Models & datasets
  • Tools
  • Libraries & extensions
  • TensorFlow Certificate program
  • Learn ML
  • Responsible AI
  • About
  • Case studies
  • AI Service Partners
  • TensorFlow
  • API
  • TensorFlow Core v2.4.0

TensorFlow API Versions

The following versions of the TensorFlow api-docs are currently available:

TensorFlow 2

  • r2.4
  • r2.3
  • r2.2
  • r2.1
  • r2.0

TensorFlow 1

  • r1.15
  • r1.14
  • r1.13
  • r1.12
  • r1.11
  • r1.10
  • r1.9
  • r1.8
  • r1.7
  • r1.6
  • r1.5
  • r1.4
  • r1.3
  • r1.2
  • r1.1
  • r1.0

Earlier branches of the documentation can be found on GitHub.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.

Last updated 2020-12-14 UTC.

  • Stay connected

    • Blog
    • GitHub
    • Twitter
    • YouTube
  • Support

    • Issue tracker
    • Release notes
    • Stack Overflow
    • Brand guidelines
    • Cite TensorFlow
  • Terms
  • Privacy
  • Sign up for the TensorFlow monthly newsletter Subscribe