[BE][Easy][19/19] enforce style for empty lines in import segments in torch/[o-z]*/ (#129771)

See https://github.com/pytorch/pytorch/pull/129751#issue-2380881501. Most changes are auto-generated by linter.

You can review these PRs via:

```bash
git diff --ignore-all-space --ignore-blank-lines HEAD~1
```

Pull Request resolved: https://github.com/pytorch/pytorch/pull/129771
Approved by: https://github.com/justinchuby, https://github.com/janeyx99
This commit is contained in:
Xuehai Pan
2024-07-31 19:56:45 +08:00
committed by PyTorch MergeBot
parent c59f3fff52
commit 30293319a8
120 changed files with 163 additions and 101 deletions

View File

@ -3,9 +3,11 @@ from typing import List, Tuple, Union
import torch
from torch import Tensor
from . import _functional as F
from .optimizer import _maximize_doc, Optimizer, ParamsT
__all__ = ["SparseAdam"]