mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
fix lint after new flake8 release added new style constraints (#13047)
Summary: fix lint after new flake8 release added new style constraints Pull Request resolved: https://github.com/pytorch/pytorch/pull/13047 Differential Revision: D10527804 Pulled By: soumith fbshipit-source-id: 6f4d02662570b6339f69117b61037c8394b0bbd8
This commit is contained in:
committed by
Facebook Github Bot
parent
d72de9fb1e
commit
cf235e0894
@ -4,7 +4,7 @@ from .optimizer import Optimizer
|
||||
|
||||
|
||||
class SparseAdam(Optimizer):
|
||||
"""Implements lazy version of Adam algorithm suitable for sparse tensors.
|
||||
r"""Implements lazy version of Adam algorithm suitable for sparse tensors.
|
||||
|
||||
In this variant, only moments that show up in the gradient get updated, and
|
||||
only those portions of the gradient get applied to the parameters.
|
||||
|
Reference in New Issue
Block a user