flâneur — a map of the web's best reading

RMSprop — PyTorch 2.4 documentation

pytorch.org · 4 words · saved by 1 readers

For further details regarding the algorithm we refer to lecture notes by G. Hinton. and centered version Generating Sequences With Recurrent Neural Networks. The implementation here takes the square root of the gradient average before adding epsilon (note that TensorFlow interchanges these two operations). The effective learning rate is thus 𝛾 / ( 𝑣 + 𝜖 ) γ/( v ​ +ϵ) where 𝛾 γ is the scheduled learning rate and 𝑣 v is the weighted moving average of the squared gradient. params (iterable) – iterable of parameters to optimize or dicts defining parameter groups lr (float, optional) – learning rate (default: 1e-2) momentum (float, optional) – momentum factor (default: 0) alpha (float, optional) – smoothing constant (default: 0.99) eps (float, optional) – term added to the denominator to improve numerical stability (default: 1e-8) centered (bool, optional) – if True, compute the centered RMSProp, the gradient is normalized by an estimation of its variance weight_decay (float, opti

Redirecting… Continue to ../../2.13/generated/torch.optim.RMSprop.html

Explore this link on the map →

related reading