Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
The Deep Learning with PyTorch Workshop

You're reading from   The Deep Learning with PyTorch Workshop Build deep neural networks and artificial intelligence applications with PyTorch

Arrow left icon
Product type Paperback
Published in Jul 2020
Publisher Packt
ISBN-13 9781838989217
Length 330 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Hyatt Saleh Hyatt Saleh
Author Profile Icon Hyatt Saleh
Hyatt Saleh
Arrow right icon
View More author details
Toc

Summary

Deep learning is a subset of machine learning that was inspired by the biological structure of human brains. It uses deep neural networks to solve complex data problems through the use of vast amounts of data. Even though the theory was developed decades ago, it has been used recently thanks to advances in hardware and software that allow us to collect and process millions of pieces of data.

With the popularity of deep learning solutions, many deep learning libraries have been developed. Among them, one of the most recent ones is PyTorch. PyTorch uses a C++ backend, which helps speed up computation, while having a Python frontend to keep the library easy to use.

It uses tensors to store data, which are n-ranked matrix-like structures that can be run on GPUs to speed up processing. It offers three main elements that are highly useful for creating complex neural network architectures with little effort.

The autograd library can compute the derivatives of a function, which are used as the gradients to optimize the weights and biases of a model. Moreover, the nn module helps you to easily define the model's architecture as a sequence of predefined modules, as well as to determine the loss function to be used to measure the model. Finally, the optim package is used to select the optimization algorithm to be used to update the parameters, considering the gradients calculated previously.

In the next chapter, we will learn about the building blocks of a neural network. We will cover the three types of learning processes, as well as the three most common types of neural networks. For each neural network, we will learn how the network architecture is structured, as well as how the training process works. Finally, we will learn about the importance of data preparation and solve a regression data problem.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image