Stochastic Gradient Descent Using Pytorch Linear Module

Pankaj Kumar
4 min readApr 3, 2022
Photo by Diego PH on Unsplash

In the previous tutorial here on SGD, I explored the way in which we can implement using PyTorch's built-in gradient calculation, loss, and optimization implementation. in our present discussion, we’ll continue exploring PyTorch by using the same constructs and using also using the built-in Linear module.

Steps :

Preparation Steps

--

--

Pankaj Kumar

MS Data Science SMU TX. Pursuing MSc Financial Engg. At WQU.Interest in Algos, Discovering Trends fm data. Methodical, conven/non-conven. Investigation of data.