Conteúdo do Curso
Introduction to TensorFlow
Introduction to TensorFlow
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:
# Import the TensorFlow library with the alias `tf` import tensorflow as tf # Print out the version of the library print(tf.__version__)
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.
Obrigado pelo seu feedback!