TensorFlow 2

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.

Neutral Network Training with TensorFlow

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

The mechanis of TensorFlow

We will use different aspects of TensorFlow’s API to implement NNs.

Classifying images

Modeling Sequential data

Generative adversarial networks

Reinforcement learning for decision making