Shortcuts

torchrl.trainers.algorithms.configs.utils.SGDConfig

class torchrl.trainers.algorithms.configs.utils.SGDConfig(lr: float = 0.001, momentum: float = 0.0, dampening: float = 0.0, weight_decay: float = 0.0, nesterov: bool = False, maximize: bool = False, foreach: bool | None = None, differentiable: bool = False, _target_: str = 'torch.optim.SGD', _partial_: bool = True)[source]

Configuration for SGD optimizer.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources