Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Welcome to TensorFlow | Tensors
Introduction to TensorFlow
course content

Course Content

Introduction to TensorFlow

Introduction to TensorFlow

1. Tensors
2. Basics of TensorFlow

book
Welcome to TensorFlow

Welcome to TensorFlow

Greetings! If you're here, you've taken your first step into the vast world of TensorFlow. By the end of this lesson, you'll gain a foundational understanding of TensorFlow, its inception, its core objectives, and its defining features.

Purpose of TensorFlow

The name TensorFlow is rather descriptive. In the realm of machine learning, particularly deep learning, data gets manipulated and passed between operations in structures called tensors. Think of a tensor as a sophisticated multi-dimensional array. TensorFlow provides a platform to construct and manipulate these computational graphs with tensors flowing through them.

This diagram provides a visual representation of a basic neural network. Notice the pathways? That signifies data, structured as tensors, being processed through the network.

Key Features

  • Flexibility: Whether it's deploying models on mobile devices or orchestrating them across several servers, TensorFlow offers considerable versatility;

  • Performance: At its heart, TensorFlow is built on C++, ensuring it's optimized for high-speed tasks;

  • Ecosystem: TensorFlow is complemented by tools like TensorBoard and TensorFlow Hub, enriching its ecosystem. Additionally, there's built-in support for the Pandas and NumPy libraries;

  • GPU Acceleration: TensorFlow can harness the power of GPUs (Graphic Processing Units) to speed up numerous computations essential for large scale deep learning tasks.

A Practical Dive

Understanding TensorFlow's potential is best achieved through hands-on experience. Let's begin with the basics.

In this course, we'll utilize the integrated coderunner for assignments with TensorFlow already set up. However, if you wish to install TensorFlow in your own Python environment, you can use the following command:

Now that TensorFlow is installed, we can verify its version with the following command:

12345
# Import the TensorFlow library with the alias `tf` import tensorflow as tf # Print out the version of the library print(tf.__version__)
copy

Running the above code will display the TensorFlow version used in the Python environment.

Note

The latest version of TensorFlow may change over time. Nonetheless, the foundational concepts remain consistent across different versions.

1. What are tensors in the context of TensorFlow?
2. Which of the following are key features of TensorFlow?
What are tensors in the context of TensorFlow?

What are tensors in the context of TensorFlow?

Select the correct answer

Which of the following are key features of TensorFlow?

Which of the following are key features of TensorFlow?

Select a few correct answers

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 1
We're sorry to hear that something went wrong. What happened?
some-alt