Skip to content

Commit 8055140

Browse files
committed
Fix torch.any documentation
Currently, the description of torch.any would be parsed like ``` param input the input tensor. ``` However, it should be ``` Tests if any element in input evaluates to True. ```
1 parent 88032d8 commit 8055140

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

torch/_torch_docs.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -644,9 +644,6 @@ def merge_dicts(*dicts):
644644
r"""
645645
any(input) -> Tensor
646646
647-
Args:
648-
{input}
649-
650647
Tests if any element in :attr:`input` evaluates to `True`.
651648
652649
.. note:: This function matches the behaviour of NumPy in returning

0 commit comments

Comments
 (0)