I’m a newbie user for pytorch. I know the various types of gradient descent like batch-gd, minibatch-gd, stochastic-gd. So how we can do batch-gd, minibatch, and stochastic-gd using pytorch module?
Thanks