mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[BE][Easy][6/19] enforce style for empty lines in import segments in test/
(#129757)
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/129757 Approved by: https://github.com/ezyang
This commit is contained in:
committed by
PyTorch MergeBot
parent
e51e971a86
commit
ba48cf6535
@ -9,7 +9,6 @@ from torch.testing._internal.common_device_type import (
|
||||
ops,
|
||||
)
|
||||
from torch.testing._internal.common_methods_invocations import op_db
|
||||
|
||||
from torch.testing._internal.common_utils import (
|
||||
run_tests,
|
||||
TestCase,
|
||||
@ -19,6 +18,7 @@ from torch.testing._internal.common_utils import (
|
||||
from torch.testing._internal.custom_op_db import custom_op_db
|
||||
from torch.testing._internal.hop_db import hop_db
|
||||
|
||||
|
||||
# gradcheck requires double precision
|
||||
_gradcheck_ops = partial(
|
||||
ops, dtypes=OpDTypes.supported, allowed_dtypes=[torch.double, torch.cdouble]
|
||||
|
Reference in New Issue
Block a user