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:
Soumith Chintala
2018-10-24 09:01:12 -07:00
committed by Facebook Github Bot
parent d72de9fb1e
commit cf235e0894
10 changed files with 22 additions and 22 deletions

View File

@ -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.