TechnologyMachine learning library

TensorFlow

Open-source machine learning library from Google for building, training and deploying neural networks on CPUs, GPUs, TPUs and mobile devices.

TensorFlow is an open-source software library for machine learning, developed by Google, that provides tools for building, training and deploying neural networks and other numerical models. Computations are expressed as operations on multidimensional arrays called tensors, which can run on CPUs, GPUs and Google's tensor processing units. Around the core library sits a family of tools: Keras for defining models at a high level, a lightweight runtime for mobile and embedded devices (originally TensorFlow Lite), TensorFlow.js for browsers and TensorFlow Extended for production pipelines.

The Google Brain team released TensorFlow under the Apache License in November 2015 as the successor to DistBelief, an internal system used for earlier large-scale deep learning experiments. Version 1 required users to build a static dataflow graph first and execute it later in a session, an approach that enabled optimization and distribution but was hard to debug. TensorFlow 2.0, released in 2019, made eager execution the default and adopted Keras as its primary high-level interface, narrowing the gap with the more dynamic style popularized by PyTorch.

TensorFlow was among the first widely used open deep learning frameworks and helped spread practical machine learning beyond research labs, with extensive tutorials, pretrained models and production tooling. Google designed its tensor processing unit chips with TensorFlow workloads in mind. In research, PyTorch overtook it around the turn of the 2020s, and Google trains many of its own large models with JAX, but TensorFlow and Keras are still widespread in deployed systems and teaching. Its history shows how graphics processing unit computing and open libraries together made neural networks accessible to far more developers.

Key points

  • TensorFlow expresses computations as operations on tensors that run on CPUs, GPUs and TPUs.
  • Google Brain released it as open-source software under the Apache License in 2015.
  • TensorFlow 2.0 made eager execution the default and adopted Keras as its main API.
  • Companion tools target mobile devices, web browsers and production machine learning pipelines.

Related entries

Technology

PyTorch

AIProgrammingFOSS

Open-source machine learning framework combining GPU-accelerated tensors with automatic differentiation, widely used for deep learning research.

Glossary term

Approach to machine learning that trains neural networks with many layers to learn increasingly abstract representations directly from raw data.

Glossary term

Computational model made of interconnected units, loosely inspired by biological neurons, whose connection strengths are learned from data.

Glossary term

Machine Learning

AIProgramming

Branch of artificial intelligence in which computer systems improve at tasks by learning patterns from data rather than following explicitly programmed rules.

Organization

Artificial intelligence research laboratory owned by Alphabet, known for AlphaGo, AlphaFold and the Gemini family of multimodal models.

Glossary term

Graphics Processing Unit

HardwareAIVideo Games

Highly parallel processor originally designed to render images, now also widely used for scientific computing and for training and running AI models.

Technology

CUDA

HardwareAIProgramming

Proprietary parallel computing platform and programming model from NVIDIA that lets developers run general-purpose code on its GPUs.

Technology

Python

Programming

High-level, general-purpose programming language created by Guido van Rossum, known for readable syntax and widely used in data science and AI.

Referenced by

Other entries that discuss or point to TensorFlow.