From a1820bd4d596cf0f21e8d977a203da11988b42fc Mon Sep 17 00:00:00 2001 From: Zhong Hui Date: Tue, 17 May 2022 14:59:48 +0800 Subject: [PATCH] Update dist api document. test=document_fix --- python/paddle/tensor/linalg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/paddle/tensor/linalg.py b/python/paddle/tensor/linalg.py index 2a77dbd1157..9a8a4fbc179 100644 --- a/python/paddle/tensor/linalg.py +++ b/python/paddle/tensor/linalg.py @@ -599,13 +599,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:: -- GitLab