Skip to content

Commit 4a7ee79

Browse files
janeyx99pytorchmergebot
authored andcommitted
[BE] super small comment update to gradcheck.py (pytorch#101103)
Pull Request resolved: pytorch#101103 Approved by: https://github.com/soulitzer
1 parent a53cda1 commit 4a7ee79

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

torch/autograd/gradcheck.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,8 +1427,6 @@ def _fast_gradcheck(func, func_out, inputs, outputs, eps, rtol,
14271427
# If https://mypy.readthedocs.io/en/latest/additional_features.html?highlight=callable#extended-callable-types is accepted,
14281428
# the '...' first argument of Callable can be replaced with VarArg(Tensor).
14291429
# For now, we permit any input.
1430-
# the '...' first argument of Callable can be replaced with VarArg(Tensor).
1431-
# For now, we permit any input.
14321430
def gradcheck(
14331431
func: Callable[..., Union[_TensorOrTensors]], # See Note [VarArg of Tensors]
14341432
inputs: _TensorOrTensors,

0 commit comments

Comments
 (0)