04 PyTorch tutorial - How do computational graphs and autograd in PyTorch work

preview_player
Показать описание
In this tutorial, we have talked about how the autograd system in PyTorch works and about its benefits. We also did a rewind of how the forward and backward pass work, and also how to calculate gradients.

If you found this video helpful, please drop a like and subscribe. If you have any questions, write them in the comment section below.

.
.
.
Timestamps
00:00 Introduction
00:52 Computational graph forward pass
01:54 Python forward pass
02:25 Gradient calculation
02:49 Python backward pass
03:29 Turn off gradient calculation
04:58 Gradient accumulation
07:01 Chain rule
08:17 Derivative calculation visualized
10:15 .backward() function
.
.
.
.
#machinelearning #artificialintelligence #ai #datascience #python #deeplearning #technology #programming #coding #bigdata #computerscience #data #dataanalytics #tech #datascientist #iot #pythonprogramming #programmer #ml #developer #software #robotics #java #innovation #coder #javascript #datavisualization #analytics #neuralnetworks #bhfyp
Рекомендации по теме
Комментарии
Автор

Really well explained!! Clear and straightforward. Thank you :)

ajayspatil
Автор

Thank you so much for the video! A practical, worry free, and clear explanation.

josecuevas
Автор

Can you please elaborate on what you are talking about in the backward() function step? It's not very clear what is happening when you reset the gradients with z.backward(v)

xfloryx
Автор

Awesome Video, would like to see more in-depth like this I like you don't ignore math, please do it with the loss functions of any algorithm you like (better if it is related to deep learning or GAN, diffusion model ..)

donfeto
Автор

What about matrices, how do we handle the backward computations (derivatives) in matrices. Can you share any article or something. Thanks.

varun-he
Автор

Hi, great video and explanation. In the last part why we need to define the vector of ones and why we do the division by length of the vector? The explanation for that change in code is not clear for me

bhavyabalan
Автор

Thank you for such a great explanation!

cristianarteaga
Автор

What would Leibniz think if he could see this!?

sdaiwepm