Skip to content

Commit 075b232

Browse files
make equation behind torch.isclose element-wise
1 parent 14fc6b7 commit 075b232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/_torch_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5329,7 +5329,7 @@ def merge_dicts(*dicts):
53295329
Closeness is defined as:
53305330
53315331
.. math::
5332-
\lvert \text{input} - \text{other} \rvert \leq \texttt{atol} + \texttt{rtol} \times \lvert \text{other} \rvert
5332+
\lvert \text{input}_i - \text{other}_i \rvert \leq \texttt{atol} + \texttt{rtol} \times \lvert \text{other}_i \rvert \quad \forall i
53335333
"""
53345334
+ r"""
53355335

0 commit comments

Comments
 (0)