Skip to content

Commit

Permalink
[DOC] fix dist api document(PaddlePaddle#43394)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZHUI authored and sneaxiy committed Jun 27, 2022
1 parent 335d942 commit 3533b1b
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 3533b1b

Please sign in to comment.