Skip to content

Commit

Permalink
[DOC] fix dist api document(#43394)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZHUI committed Jun 15, 2022
1 parent 1557763 commit 19eb0eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/paddle/tensor/linalg.py
Expand Up @@ -588,13 +588,13 @@ def dist(x, y, p=2, name=None):
||z||_{0}=\lim_{p \\rightarrow 0}\sum_{i=1}^{m}|z_i|^{p}
When p = inf, the inf-norm of z is the maximum element of z.
When p = inf, the inf-norm of z is the maximum element of the absolute value of z.
.. math::
||z||_\infty=\max_i |z_i|
When p = -inf, the negative-inf-norm of z is the minimum element of z.
When p = -inf, the negative-inf-norm of z is the minimum element of the absolute value of z.
.. math::
Expand Down

0 comments on commit 19eb0eb

Please sign in to comment.