From adb3c726ba27469be9bec3da897849ba47eca5ad Mon Sep 17 00:00:00 2001 From: Asthestarsfalll <1186454801@qq.com> Date: Fri, 29 Jul 2022 21:37:44 +0800 Subject: [PATCH] update --- python/paddle/tensor/stat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/tensor/stat.py b/python/paddle/tensor/stat.py index c6f8a2fe5e575..1bf2df89855ae 100644 --- a/python/paddle/tensor/stat.py +++ b/python/paddle/tensor/stat.py @@ -524,7 +524,7 @@ def _compute_quantile(x, q, axis=None, keepdim=False, ignore_nan=False): if ignore_nan: indices.append(q_num * (valid_counts - 1)) else: - # TODO(Asthestarsfalll): Use paddle.index_fill instead of where + # TODO: Use paddle.index_fill instead of where index = q_num * (valid_counts - 1) last_index = x.shape[axis] - 1 nums = paddle.full_like(index, fill_value=last_index)