File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ def add_docstr_all(method, docstr):
167167 >>> a.all()
168168 False
169169
170- .. function:: any (dim, keepdim=False, out=None) -> Tensor
170+ .. function:: all (dim, keepdim=False, out=None) -> Tensor
171171
172172Returns True if all elements in each row of the tensor in the given
173173dimension :attr:`dim` are non-zero, False otherwise.
@@ -204,7 +204,7 @@ def add_docstr_all(method, docstr):
204204
205205add_docstr_all ('any' ,
206206 r"""
207- .. function:: x. any() -> bool
207+ .. function:: any() -> bool
208208
209209Returns True if any elements in the tensor are non-zero, False otherwise.
210210
@@ -219,7 +219,7 @@ def add_docstr_all(method, docstr):
219219 >>> a.any()
220220 True
221221
222- .. function:: x. any(dim, keepdim=False, out=None) -> Tensor
222+ .. function:: any(dim, keepdim=False, out=None) -> Tensor
223223
224224Returns True if any elements in each row of the tensor in the given
225225dimension :attr:`dim` are non-zero, False otherwise.
You can’t perform that action at this time.
0 commit comments