TensorFlow is an open-source framework for machine learning (ML) and artificial intelligence (AI) that was developed by Google Brain. It was designed to facilitate the development of machine learning models, particularly deep learning models, by providing tools to easily build, train, and deploy them across different platforms.
TensorFlow supports a wide range of applications, from natural language processing (NLP) and computer vision (CV) to time series forecasting and reinforcement learning.
TensorFlow is one of the most popular deep learning libraries currently available, and it lets us implement neural networks (NNs) much more efficiently than any of our previous NumPy implementations.
Installing TensorFlow
$ pip install tensorflow==2.0.0
...\> pip install tensorflow==2.0.0
If your machine satisfies these requirements, you can install TensorFlow with GPU supports, as follow:
$ pip install tensorflow-gpu
...\> pip install tensorflow-gpu
Creating tensors in TensorFlow
>>> import tensorflow as tf
We will use different aspects of TensorFlow’s API to implement NNs.
May 11, 2025