Stochastic Gradient Descent Using Pytorch Linear Module
4 min readApr 3, 2022
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.