Learn Before
Concept

torch.optim

PyTorch package for implementing a variety of optimizations alogithms. Interface is abstracted well enough that any optimization method can be used without changing surrounding code. There's also the option to implement a custom optimization method. Some examples of ones already implemented by PyTorch are:

  • Adadelta
  • Adagrad
  • Adam
  • ASGD
  • RMSprop
  • SGD

0

1

Updated 2026-05-15

Tags

Data Science

D2L

Dive into Deep Learning @ D2L

Related