From 19eb0eb83b240e46764ad1e632e5f1bb200733c2 Mon Sep 17 00:00:00 2001 From: Zhong Hui Date: Wed, 15 Jun 2022 14:08:35 +0800 Subject: [PATCH] [DOC] fix dist api document(#43394) --- 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 137c85ac989..c704a1b52d1 100644 --- a/python/paddle/tensor/linalg.py +++ b/python/paddle/tensor/linalg.py @@ -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:: -- GitLab